Machine Learning and Chaos Theory in Agriculture