Machine Learning Model for Predicting the Suitability of Cultivating Alternative Crops in Lower Northern Thailand
Main Article Content
Abstract
Intensive rice cultivation presents significant environmental and economic challenges. While crop diversification offers potential benefits for agricultural sustainability and financial resilience, farmers face considerable uncertainty when transitioning to alternative crops. This study assessed the prediction efficacy of machine learning (ML) models in identifying suitable crops for cultivation in a specific geographical area considering various factors influencing agricultural viability. Through comprehensive experimentation, a decision tree model, an artificial neural network (ANN), and a Naïve Bayes model were used for predictions and rigorously evaluated for various crops, including rubber, coconut, longan, durian, rambutan, and mangosteen. Various hyperparameter configurations were tested, and multiple evaluation indicators were employed to assess the prediction performance of the models. The results consistently demonstrated the superiority of the decision tree model, which exhibited high accuracy, precision, recall, and F-measure across most crops. Its ability to capture intricate patterns and relationships between crop attributes and suitability levels underscores its value as a decision-support tool in agriculture. While the ANN model performed well for coconut, its effectiveness varied across the other crops, highlighting the need for tailored model selection. This study provides valuable insights into the application of ML in agricultural decision-making processes, suggesting potential avenues for future optimization and enhancement of prediction accuracy.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
P. Appiahene, A. Kofi, K. Santo and R. Bannor, “Application of Machine Learning in Crop Cultivation and Production: Systematic Review,” Journal of Energy and Natural Resource Management (JENRM), vol. 8, no. 2, pp. 51-62, 2022.
T. van Klompenburg, A. Kassahun and C. Catal, “Crop Yield Prediction using Machine Learning: A Systematic Literature Review,” Computers and Electronics in Agriculture, vol. 177, p. 105709, Oct. 2020.
R. Sharma, S. S. Kamble, A. Gunasekaran, V. Kumar and A. Kumar, “A Systematic Literature Review on Machine Learning Applications for Sustainable Agriculture Supply Chain Performance,” Computers & Operations Research, vol. 119, p. 104926, Jul. 2020.
M. A. Ria˜no, A. O. R. Rodriguez, J. B. Velandia, P. A. G. Garc´ıa and C. E. M. Mar´ın, “Design and Application of An Ontology to Identify Crop Areas and Improve Land Use,” Acta Geophys., vol. 71, No. 3, pp. 1409–1426, Jun. 2023.
J. Lacasta, F. J. Lopez-Pellicer, B. Espejo-Garc´ıa, J. Nogueras-Iso and F. J. Zarazaga-Soria, “Agricultural Recommendation System for Crop Protection,” Computers and Electronics in Agriculture, vol. 152, pp. 82–89, Sep. 2018.
K. Patel and H. B. Patel, “A State-of-the-Art Survey on Recommendation System and Prospective Extensions,” Computers and Electronics in Agriculture, vol. 178, p. 105779, Nov. 2020.
P. Kaur, J. K. Chahal and T. Sharma, “A Data Mining Approach for Crop Yield Prediction in Agriculture Sector,” Advances in Mathematics: Scientific Journal, vol. 10, no. 3, pp. 1425–1430, Mar. 2021.
C. N. Vanitha, N. Archana and R. Sowmiya, “Agriculture Analysis using Data Mining and Machine Learning Techniques,” in 2019 5th International Conference on Advanced Computing Communication Systems (ICACCS), pp. 984–990, Mar. 2019.
T. Deshmukh, A. Rajawat, S. B. Goyal, J. Kumar and A. Potgantwar, “Analysis of Machine Learning Technique for Crop Selection and Prediction of Crop Cultivation,” in 2023 International Conference on Inventive Computation Technologies (ICICT), pp. 298–311, Apr. 2023.
S. Pudumalar, E. Ramanujam, R. H. Rajashree, C. Kavya, T. Kiruthika and J. Nisha, “Crop Recommendation System for Precision Agriculture,” in 2016 Eighth International Conference on Advanced Computing (ICoAC), pp. 32–36, Jan. 2017.
U. P. Jakarbet, S. S P, S. R M and A. B P, “An Empirical Analysis of Machine Learning Algorithms for Agricultural Crop Prediction,” 2024 8th International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), Kirtipur, Nepal, pp. 1782-1790, 2024.
G. Mariammal, A. Suruliandi, S. P. Raja and E. Poongothai, “Prediction of Land Suitability for Crop Cultivation Based on Soil and Environmental Characteristics Using Modified Recursive Feature Elimination Technique With Various Classifiers,” in IEEE Transactions on Computational Social Systems, vol. 8, no. 5, pp. 1132-1142, Oct. 2021
R. Kammoonrat and A. Salaiwarakul, “Machine Learning Models for Crop Prediction in Agriculture: A Comparative Study,” ICIC Express Letters Part B: Applications, vol. 16, no. 1, pp. 1–8, 2025.
S. S. B, Anusha, A. Shetty, R. R. Shetty, B. A. D. Alva and A. D. Shetty, “Machine Learning Techniques in Crop Recommendation based on Soil and Crop Yield Prediction System – Review,” in 2022 International Conference on Artificial Intelligence and Data Engineering (AIDE),
pp. 230–235, Dec. 2022.
P. Parameswari and C. Tharani, “Crop Specific Cultivation Recommendation System using Deep Learning,” in Information and Communication Technology for Competitive Strategies (ICTCS 2022), Singapore: Springer Nature, pp. 781–787, 2023.
S. Rani, A. K. Mishra, A. Kataria, S. Mallik and H. Qin, “Machine Learning-Based Optimal Crop Selection System in Smart Agriculture,” Scientific Reports, vol. 13, no. 1, p. 15997, Sep. 2023.