An AI Methodology for the Adaptation of Agricultural Models