Use of data mining in crop yield prediction