Crop Recommendation System Leveraging Weather Forecast Data Using Random Forest
Agricultural decision-making has long depended on traditional practices and heuristics, which often fail to account for the variability in weather and soil conditions, leading to reduced yields and inefficient resource use. This study introduces a weather-aware Crop Recommendation System that employs the Random Forest machine learning algorithm to provide locationspecific crop suggestions. By integrating real-time meteorological data, including temperature, humidity, and rainfall, with soil nutrient profiles <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$(\mathrm{N}, \mathrm{P}, \mathrm{K})$</tex>, pH levels, and soil type, the system dynamically adapts to environmental changes and offers tailored recommendations. The model leverages both historical agricultural data and live weather feeds accessed via external APIs, allowing it to remain responsive to conditions such as unexpected droughts or rainfall. The proposed system is designed to identify the top five crops most suitable for the user's region and soil conditions. Extensive evaluation demonstrates a prediction accuracy of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{9 9. 3 1 \%}$</tex>, confirming the system's robustness and effectiveness. This tool not only supports precision farming but also promotes sustainability by aiding farmers in optimizing input usage and maximizing productivity. A web-based interface makes the platform accessible to end users, particularly small-scale farmers seeking data-driven solutions.
Authors
- Sanath Nagaraj
- R Sowmya
- Vidhya Shree N S
- H J Kruthi
- Keerthan Kumar T G
Institutions
- Tumkur University (IN)
- Dr. Hari Singh Gour University (IN)
Publication Details
- Published
- 2025-07-25
- DOI
- https://doi.org/10.1109/icdsns65743.2025.11168656
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00