Data-Driven Crop Recommendation Using Machine Learning: A Comparative Analysis

This research presents a comprehensive comparative analysis of machine learning algorithms for agricultural decision support systems using the Crop Recommendation Dataset. Four supervised learning algorithms—Random Forest (RF), Decision Tree (DT), Support Vector Machine (SVM), and K-Nearest Neighbors (KNN)—were implemented, trained, and rigorously evaluated under consistent conditions. The manually optimized Random Forest model achieved the highest performance, attaining an overall accuracy of 99.32%, outperforming Decision Tree (97.95%), SVM (97.73%), and KNN (95.68%). Each model was tuned through controlled hyperparameter optimization to ensure fair comparison. The Random Forest model revealed critical feature importance insights, highlighting rainfall (22.7%), humidity (21.1%), and potassium levels (18.1%) as dominant agronomic parameters influencing prediction outcomes. This study establishes a performance hierarchy among the tested algorithms, formulates algorithm selection guidelines, and provides practical recommendations for the development of intelligent crop recommendation systems. The findings contribute to the growing field of agricultural informatics and precision agriculture by demonstrating the feasibility of integrating ML-driven decision models into real-world farming environments.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-12-03
DOI
https://doi.org/10.5281/zenodo.17800773
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Data-Driven Crop Recommendation Using Machine Learning: A Comparative Analysis

Zenodo (CERN European Organization for Nuclear Research)
Smart Agriculture and AI
article

Data-Driven Crop Recommendation Using Machine Learning: A Comparative Analysis

article en

Abstract

This research presents a comprehensive comparative analysis of machine learning algorithms for agricultural decision support systems using the Crop Recommendation Dataset. Four supervised learning algorithms—Random Forest (RF), Decision Tree (DT), Support Vector Machine (SVM), and K-Nearest Neighbors (KNN)—were implemented, trained, and rigorously evaluated under consistent conditions. The manually optimized Random Forest model achieved the highest performance, attaining an overall accuracy of 99.32%, outperforming Decision Tree (97.95%), SVM (97.73%), and KNN (95.68%). Each model was tuned through controlled hyperparameter optimization to ensure fair comparison. The Random Forest model revealed critical feature importance insights, highlighting rainfall (22.7%), humidity (21.1%), and potassium levels (18.1%) as dominant agronomic parameters influencing prediction outcomes. This study establishes a performance hierarchy among the tested algorithms, formulates algorithm selection guidelines, and provides practical recommendations for the development of intelligent crop recommendation systems. The findings contribute to the growing field of agricultural informatics and precision agriculture by demonstrating the feasibility of integrating ML-driven decision models into real-world farming environments.

Zenodo (CERN European Organization for Nuclear Research)
Zero hunger
Openalex Percentile: Top 28%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.