Crop Recommendation System Using Machine Learning
K. Salma Kathoon, N. Venkatesh Naik, Telugu Vinay Kumar, Kanike Narasimha,
Annem Venkata Srinivasulu and Ediga Hari Sai Nandhan Goud
Department of Computer Science and Engineering (DS), Santhiram Engineering College, Nandyal‑518501, Andhra
Pradesh, India
Keywords: Crop Recommendation System, Deep Learning in Agriculture, Neural Networks for Crop Prediction,
Precision Farming, AI‑Based Agricultural Decision Support.
Abstract: Agriculture plays a crucial role in the global economy, and selecting the right crop based on environmental
and soil conditions is essential for maximizing yield. Traditional crop recommendation systems rely on
manual analysis, which may not always be accurate. This paper proposes a Deep Learning-based Crop
Recommendation System that leverages soil parameters (such as nitrogen, phosphorus, potassium, pH,
temperature, humidity, and rainfall) to suggest the best-suited crops for farmers. We employ a Neural Network
(NN) and Convolutional Neural Network (CNN) model trained on agricultural datasets to predict optimal
crops. The system aims to improve decision-making in farming, enhance productivity, and reduce resource
wastage. Experimental results demonstrate that the proposed model achieves high accuracy in crop
recommendation compared to traditional methods.
1 INTRODUCTION
Agriculture is the backbone of many economies,
providing food security and livelihood to a significant
portion of the global population. However, farmers
often face challenges in selecting the right crop due
to dynamic environmental conditions, soil
degradation, and unpredictable weather patterns.
Traditional farming practices rely heavily on manual
experience and generalized guidelines, which may
not always yield optimal results. With the increasing
pressure of climate change and the need for
sustainable farming, there is a growing demand
for data-driven decision-making in agriculture.
Recent advancements in Artificial Intelligence
(AI) and Deep Learning (DL) have opened new
possibilities for precision agriculture. A Crop
Recommendation System powered by deep learning
can analyze multiple agro-climatic factors such as soil
nutrients (nitrogen, phosphorus, potassium), pH
levels, temperature, humidity, and rainfall to suggest
the most suitable crops for cultivation. Unlike
conventional rule-based systems, deep learning
models can capture complex, non-linear relationships
in agricultural data, leading to more accurate
predictions.
Several machine learning techniques, such
as Random Forest, Support Vector Machines (SVM),
and Decision Trees, have been previously employed
for crop prediction. However, these models often
struggle with high-dimensional data and require
extensive feature engineering. Deep Neural Networks
(DNNs), particularly Convolutional Neural Networks
(CNNs), offer superior performance by automatically
extracting relevant features and improving prediction
accuracy.
This project proposes a Deep Learning-based
Crop Recommendation System that leverages
historical soil and weather data to assist farmers in
making informed decisions. The system utilizes
a multi-layer neural network to classify crops based
on input parameters, ensuring higher efficiency and
adaptability compared to traditional methods. By
integrating real-time sensor data in the future, this
model can further evolve into an IoT-enabled smart
farming solution, contributing to sustainable
agricultural practices.
The key objectives of this study are:
• To develop a deep learning model capable
of predicting optimal crops based on soil and
climatic conditions.