Summary
In recent times, crop yield prediction gains more attention among researchers communities to expand food production. In this article, an effort is done for crop yield prediction in Andhra Pradesh state (India), because AP highly contributes to the Indian economy. Especially, the crop yield prediction is done for Western Godavari, Prakasam, Guntur, Srikakulam, Krishna, Vizianagaram, Visakhapatnam, and Nellore districts of Andhra Pradesh (India) by estimating the rainfall based on the attributes: average temperature, minimum temperature, maximum temperature, precipitation, cloud cover, and velocity potential. After collecting the data from the Telangana agricultural report (2017–2018), the collected data are preprocessed utilizing the min‐max normalization technique, which is effective in preserving the relationship among data. The normalized data are classified using long short term memory network with Adam optimizer and Huber loss function. The proposed classifier has adaptive learning rates for dissimilar parameters by identifying the first and second‐moment gradient estimation so it has better computational effectiveness, unlike other classifiers. The proposed classifier predicts each site in the collected dataset into one of the three crops: rice, sugarcane, and onion. Finally, the agriculture experts validate the obtained results of the proposed model.