Predicting Agricultural Crops from Soil Features in Chitradurga Area

Authors

  • Raghavendra M. Y. Department of CSE, Sri Siddhartha Academy of Higher Education, Tumkur, India
  • H. S. Annapurna Department of ISE, Sri Siddhartha Institute of Technology, Tumkur, India
Volume: 15 | Issue: 5 | Pages: 26594-26598 | October 2025 | https://doi.org/10.48084/etasr.12537

Abstract

Using soil parameters to predict crops can greatly improve farming results, as they are important factors that affect productivity. This study used machine learning models to predict which crops will grow best in the Chitradurga District based on the type of soil. Characteristics such as pH, macronutrients (N, P, K), and some micronutrients were examined using a large dataset of soil samples that were collected by hand from the Agriculture Department and APMC soil testing laboratories in six Chitradurga taluks. This public dataset, which is specific to this area, is the basis for a new crop prediction system based only on soil properties. Data preprocessing involved cleaning, normalizing, and addressing class imbalance using ADASYN and SMOTE. ANOVA F-score-based feature selection aimed to determine the most important soil characteristics. Four machine learning models, namely XGBoost, Random Forest (RF), Support Vector Machine (SVM), and Artificial Neural Network (ANN), were examined to determine the best for predicting crop suitability. The XGBoost model achieved the best results, with an accuracy of 95%. The results show that soil characteristics can be used to make reliable crop recommendations and that data-driven methods can greatly improve decision-making in agriculture. This study shows that machine learning can be used in precision agriculture in Chitradurga, laying the groundwork for future improvements, such as hybrid modelling and the use of remote sensing data to make crop predictions that are even more accurate and specific to the region.

Keywords:

Chitradurga, PH, macronutrients, precision agriculture, ADASYN, SMOTE, XGBoost, random forest, Support Vector Machine (SVM), Artificial Neural Network (ANN)

Downloads

Download data is not yet available.

References

G. Manju, S. Thomas, and V. A. Binson, "Enhancing Agricultural Productivity: Predicting Crop Yields from Soil Properties with Machine Learning," African Journal of Biological Sciences, vol. 6, no. 12, pp. 294–403, 2024.

A. H. K. Naik, B. M. Madhu, H. G. Sannathimmappa, G. Madhu, K. N. Kumar, and N. G. Hanumantha, "Soil fertility status in Taluks of Chitradurga district under zero budget natural farming of Karnataka," International Journal of Chemical Studies, vol. 8, no. 3, pp. 2555–2558, May 2020.

D. ManendraSai, S. Dekka, M. Rafi, M. R. D. Apparao, T. Suryam, and G. Ravindranath, "Machine Learning Techniques Based Prediction for Crops in Agriculture," Journal of Survey in Fisheries Sciences, pp. 3710–3717, Mar. 2023.

L. Kouadio, R. C. Deo, V. Byrareddy, J. F. Adamowski, S. Mushtaq, and V. P. Nguyen, "Artificial intelligence approach for the prediction of Robusta coffee yield using soil fertility properties," Computers and Electronics in Agriculture, vol. 155, pp. 324–338, Dec. 2018.

M. A. Ghorbani, R. C. Deo, M. H. Kashani, M. Shahabi, and S. Ghorbani, "Artificial intelligence-based fast and efficient hybrid approach for spatial modelling of soil electrical conductivity," Soil and Tillage Research, vol. 186, pp. 152–164, Mar. 2019.

A. Suruliandi, G. Mariammal, and S. P. Raja, "Crop prediction based on soil and environmental characteristics using feature selection techniques," Mathematical and Computer Modelling of Dynamical Systems, vol. 27, no. 1, pp. 117–140, Jan. 2021.

Y. Akkem, S. K. Biswas, and A. Varanasi, "Smart farming using artificial intelligence: A review," Engineering Applications of Artificial Intelligence, vol. 120, Apr. 2023, Art. no. 105899.

S. A. Bhat, I. Hussain, and N.-F. Huang, "Soil suitability classification for crop selection in precision agriculture using GBRT-based hybrid DNN surrogate models," Ecological Informatics, vol. 75, Jul. 2023, Art. no. 102109.

Q. Chen, L. Li, C. Chong, and X. Wang, "AI‐enhanced soil management and smart farming," Soil Use and Management, vol. 38, no. 1, pp. 7–13, Jan. 2022.

S. K. Apat, J. Mishra, K. S. Raju, and N. Padhy, "An Artificial Intelligence-based Crop Recommendation System using Machine Learning," Journal of Scientific & Industrial Research, vol. 82, no. 5, May 2023.

M. Madhumitha and R. Ambikapathy "Soil Analysis and Crop Recommendation Using Deep Learning," International Research Journal of Modernization in Engineering Technology and Science, Aug. 2024.

S. Patil, D. Hajare, S. Gavhane, N. Panchal, S. Shelke, and A. Nikam, "AI-Driven Approach for Optimal Soil-Based Crop Recommendations," in Advances in Intelligent Systems for Sustainable Agriculture, 2025, pp. 221–237.

M. Chandraprabha and R. K. Dhanaraj, "Soil Based Prediction for Crop Yield using Predictive Analytics," in 2021 3rd International Conference on Advances in Computing, Communication Control and Networking (ICAC3N), Greater Noida, India, Dec. 2021, pp. 265–270.

E. Elbasi et al., "Crop Prediction Model Using Machine Learning Algorithms," Applied Sciences, vol. 13, no. 16, Aug. 2023, Art. no. 9288.

M. Awais et al., "AI and machine learning for soil analysis: an assessment of sustainable agricultural practices," Bioresources and Bioprocessing, vol. 10, no. 1, Dec. 2023.

V. A. J. Mahjenabadi et al., "Digital mapping of soil biological properties and wheat yield using remotely sensed, soil chemical data and machine learning approaches," Computers and Electronics in Agriculture, vol. 197, Jun. 2022, Art. no. 106978.

S. Naimi, S. Ayoubi, J. A. M. Demattê, M. Zeraatpisheh, M. T. A. Amorim, and F. A. D. O. Mello, "Spatial prediction of soil surface properties in an arid region using synthetic soil image and machine learning," Geocarto International, vol. 37, no. 25, pp. 8230–8253, Dec. 2022.

S. Jain, D. Sethia, and K. C. Tiwari, "A critical systematic review on spectral-based soil nutrient prediction using machine learning," Environmental Monitoring and Assessment, vol. 196, no. 8, Aug. 2024.

S. R. Gopi and M. Karthikeyan, "Effectiveness of Crop Recommendation and Yield Prediction using Hybrid Moth Flame Optimization with Machine Learning," Engineering, Technology & Applied Science Research, vol. 13, no. 4, pp. 11360–11365, Aug. 2023.

F. Kaya, A. Keshavarzi, R. Francaviglia, G. Kaplan, L. Başayiğit, and M. Dedeoğlu, "Assessing Machine Learning-Based Prediction under Different Agricultural Practices for Digital Mapping of Soil Organic Carbon and Available Phosphorus," Agriculture, vol. 12, no. 7, Jul. 2022, Art. no. 1062.

D. A. Reddy, B. Dadore, and A. Watekar, "Crop Recommendation System to Maximize Crop Yield in Ramtek region using Machine Learning," International Journal of Scientific Research in Science and Technology, pp. 485–489, Feb. 2019.

M. Y. Raghavendra, "Raghavendramy09/crop-recommendation." Jul. 02, 2025, [Online]. Available: https://github.com/Raghavendramy09/crop-recommendation.

Downloads

How to Cite

[1]
R. M. Y. and H. S. Annapurna, “Predicting Agricultural Crops from Soil Features in Chitradurga Area”, Eng. Technol. Appl. Sci. Res., vol. 15, no. 5, pp. 26594–26598, Oct. 2025.

Metrics

Abstract Views: 69
PDF Downloads: 22

Metrics Information