AI-GeoInfo Crop Recommendation Framework Using Decision Tree Classifier and Flask-based GeoAPIs
Abstract
The crop recommendation AI-GeoInfo Framework is an advanced web application system that assists farmers and agricultural specialists in making informed crop selections based on soil and weather conditions. This framework combines geospatial data, machine learning, and web development technologies to generate tailored crop recommendations. At its core is a Decision Tree Classifier, a model chosen for its reliability and interpretability. The model is trained on comprehensive environmental data, including temperature, humidity, rainfall, soil pH, and composition with preprocessing handled by Python SimpleImputer library to address any missing values and enhancement. The web interface built using Flask-based GeoAPI, which enables users to input geographic coordinates. This identifies the nearest soil mapping unit using GeoPy for precise geodesic distance calculations by linking the input location with relevant soil data. This data is fed into the Decision Tree model, which generates an optimized list of crop recommendations based on the specific conditions of the location. The intuitive interface presents these crop recommendations make the AI-GeoInfo framework provide accurate soil and weather information to its users. The framework also allows easy updates and scalability by adapting diverse agricultural applications and responsive to advances in data and technology.
References
- Banerjee, S., & Mondal, A. C. (2023). A region-wise weather data-based crop recommendation system using different machine learning algorithms. International Journal of Intelligent Systems and Applications in Engineering, 11(3). https://ijisae.org/index.php/IJISAE/article/view/3169
- Dahiphale, D., Shinde, P., Patil, K., & Dahiphale, V. (2023). Smart farming: Crop recommendation using machine learning with challenges and future ideas. TechRxiv. https://doi.org/10.36227/techrxiv.23504496.v1
- Kumar, A., & Singh, R. (2022). Soil analysis and crop recommendation using machine learning. Proceedings of the 2022 International Conference on Smart Technologies and Agriculture (ICSTA), 45–50. https://ieeexplore.ieee.org/document/9725901
- Kasera, R. K. (2024). Comparative analysis of different machine learning based techniques for crop recommendation. In Advanced Computing, Machine Learning, Robotics and Internet Technologies, pp. 1–12. Springer, Cham. https://link.springer.com/chapter/10.1007/978-3-031-47221-3_1
- van Klompenburg, T., Kassahun, A., & Catal, C. (2020). Crop yield prediction using machine learning: A systematic literature review. Computers and Electronics in Agriculture, 177, 105709. https://doi.org/10.1016/j.compag.2020.105709
- G., A. C., Karthick, S., & Samy, S. S. (2023). Predict the growth of crop yield using machine learning. Applied and Computational Engineering, 2, 276–282. https://doi.org/10.54254/2755-2721/2/20220639
- Gupta, Y., & Srivastava, G. (2024). Crop recommendation system for growing best suitable crop. International Journal of Science and Research Archive, 12(1), 2928–2936. https://doi.org/10.30574/ijsra.2024.12.1.1111
- Kiran, P. S., Abhinaya, G., Sruti, S., & Padhy, N. (2024). A machine learning-enabled system for crop recommendation. Engineering Proceedings, 67(1), 51. https://doi.org/10.3390/engproc2024067051
- AbouGrad, H., Chakhar, S., & Abubahia, A. (2023). Decision making by applying machine learning techniques to mitigate spam SMS attacks. In L. Troiano, A. Vaccaro, N. Kesswani, I. Díaz-Rodriguez, I. Brigui, & D. Pastor-Escuredo (Eds.), Key Digital Trends in Artificial Intelligence and Robotics: Proceedings of 4th International Conference on Deep Learning, Artificial Intelligence and Robotics (ICDLAIR) 2022, pp. 154–166. Springer, Cham. https://doi.org/10.1007/978-3-031-30396-8_14
- Senapaty, M. K., Ray, A., & Padhy, N. (2024). A decision support system for crop recommendation using machine learning classification algorithms. Agriculture, 14(8), 1256. https://doi.org/10.3390/agriculture14081256
- Mavi, H., Upadhyay, S. K., Srivastava, N., & Sharma, R. (2024). Crop recommendation system based on soil quality and environmental factors using machine learning. In Proceedings of the 2024 International Conference on Emerging Innovations and Advanced Computing (INNOCOMP), pp. 1–6. IEEE. https://ieeexplore.ieee.org/document/10664127
- Abhinov, K., Saranya, K. S., Mahendra, M., & Babu, C. S. (2024). Soil-based crop recommendation system using machine learning. In Proceedings of the 2024 International Conference on Advances in Data Engineering and Intelligent Computing Systems (ADICS), pp. 1–6. IEEE. https://ieeexplore.ieee.org/document/10533537