Smart Farming with Ensemble Learning: A Soil-Driven Crop Suggestion Model for Sustainable Agriculture

The use of machine learning (ML) in agriculture has paved new avenues to improve decision making, especially in crop choice. The current research offers a data-driven crop recommendation system using a machine learning approach based on key soil and environmental factors—i.e., nitrogen (N), phosphorus (P), potassium (K), pH, temperature, humidity, and rainfall. A dataset of 2,200 soil records was processed using exploratory data analysis (EDA), normalization, and model training with algorithms such as Random Forest, Logistic Regression, and Gradient Boosting. Of these, Random Forest provided the best test accuracy of 99.32%, with high predictive ability and interpretability via feature importance measures. Violin and boxplots showed distinct feature separability among crop types, particularly in variables such as rainfall, temperature, and NPK concentrations, confirming the model's classification effectiveness. The practicability of the system is in its possible incorporation in IoT-based soil monitoring devices and cell advisory apps, delivering real-time, location-specific crop advice. This strategy enables farmers to make informed decisions, minimizes fertilizer waste, and promotes sustainable farming practices. The suggested system not only showcases technical strength but also fits well within the overall vision of smart farming and precision agriculture.

Authors

Institutions

Publication Details

Journal
Turkish Journal of Engineering
Published
2025-10-03
DOI
https://doi.org/10.31127/tuje.1688064
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

Smart Farming with Ensemble Learning: A Soil-Driven Crop Suggestion Model for Sustainable Agriculture

Kamal Upreti, Bosco Paul Alapatt, Jaspreet Singh
Turkish Journal of Engineering
Smart Agriculture and AI
article

Smart Farming with Ensemble Learning: A Soil-Driven Crop Suggestion Model for Sustainable Agriculture

Kamal Upreti, Bosco Paul Alapatt, Jaspreet Singh
article en

Abstract

The use of machine learning (ML) in agriculture has paved new avenues to improve decision making, especially in crop choice. The current research offers a data-driven crop recommendation system using a machine learning approach based on key soil and environmental factors—i.e., nitrogen (N), phosphorus (P), potassium (K), pH, temperature, humidity, and rainfall. A dataset of 2,200 soil records was processed using exploratory data analysis (EDA), normalization, and model training with algorithms such as Random Forest, Logistic Regression, and Gradient Boosting. Of these, Random Forest provided the best test accuracy of 99.32%, with high predictive ability and interpretability via feature importance measures. Violin and boxplots showed distinct feature separability among crop types, particularly in variables such as rainfall, temperature, and NPK concentrations, confirming the model's classification effectiveness. The practicability of the system is in its possible incorporation in IoT-based soil monitoring devices and cell advisory apps, delivering real-time, location-specific crop advice. This strategy enables farmers to make informed decisions, minimizes fertilizer waste, and promotes sustainable farming practices. The suggested system not only showcases technical strength but also fits well within the overall vision of smart farming and precision agriculture.

Turkish Journal of EngineeringVol. 9(4)
Christ University (IN)
Openalex Percentile: Top 80%
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.