Back To Projects

Smart Agriculture: Optimizing Soil pH and Crop Recommendations Using Machine Learning

Pracheth G.

This study explores how hyperparameter tuning enhances the performance of machine learning models, achieving a 99.5% accuracy in crop classification and highlighting the potential of AI-driven optimization for sustainable precision agriculture.


Precision agriculture relies heavily on machine learning to provide actionable insights into crop management. This study investigates the application of hyperparameter tuning to improve crop classification models using environmental and soil data. By leveraging a dataset of 22 crop types with features such as nitrogen content, potassium levels, pH, and rainfall, Decision Tree and Random Forest models were developed and optimized. Hyperparameters like max_depth and criterion were systematically adjusted to balance bias and variance. Through extensive tuning, the Decision Tree Classifier achieved a classification accuracy of 99.5%, while the Random Forest Regressor demonstrated a Mean Absolute Error (MAE) of less than 0.4. This paper explores the impact of hyperparameter optimization on model performance and highlights its practical implications for improving crop recommendation systems in agriculture. The findings demonstrate the value of AI-driven decision-making in sustainable farming and pave the way for future innovations in agricultural technology.

Explore More!

Pracheth G.
Henry Cerbone

Related Projects

Using Logistic Regression in the Early Detection of Tsunamis caused by Earthquakes

Many tsunamis have enough energy to cause a large amount of human death, as well as trillions of dollars in damage repair. The problem arises on how to better prepare for these natural disasters and limit its damage, especially in countries such as Japan that are frequented by tsunamis.
Ian C.
Mentored by
Predicting Precipitation and Other Weather Conditions With Logistic Regression and Random Forest Classifiers

An issue we have with our current algorithms is the inability to predict weather accurately for any time range further than ten days. Our intentions with this project were to create a model that could get an accuracy within 5% of our current weather prediction algorithms.
Vadim Y.
Mentored by Darnell Granberry
A Methodology for Learning Airplane Descent Patterns

In this study, we trained a plane to land without human assistance.
Michael T.
Mentored by Sean Konz