Application of Machine Learning in Smart Agriculture to Predict Crop Yields Based on Environmental Factors
Keywords:
Smart Agriculture, Machine Learning, Crop Prediction, Environmental Factors, Artificial Intelligence.Abstract
The development of digital technology in the agricultural sector has led to the emergence of the concept of Smart Agriculture as a solution to increase agricultural productivity and efficiency through the use of data and artificial intelligence. The main problem in modern agriculture is the uncertainty of environmental conditions such as temperature, humidity, rainfall, light intensity, and soil conditions that can affect crop production yields. This study aims to apply Machine Learning methods to predict crop yields based on environmental factors to assist the decision-making process in the agricultural sector. The research method used is a quantitative approach with an experimental method, namely through the stages of collecting environmental data and crop yield data, data preprocessing, building a Machine Learning model, and evaluating model performance using prediction error measurement parameters. The results show that the Machine Learning model is able to process environmental factor data to find patterns of relationships with crop productivity and produce a prediction system that can be used to support agricultural decisions. The preprocessing process and feature selection are important factors in improving model quality because environmental data has complex and dynamic characteristics. The conclusion of this study shows that the application of Machine Learning in Smart Agriculture can be an effective approach to improving the accuracy of crop yield predictions and supporting data-driven agricultural management. Further research can be developed by integrating real-time IoT sensor data and testing various Machine Learning algorithms to obtain models with more optimal prediction performance.
Downloads
References
[1] M. Antenna, “A Compact Ultra-Thin 4 × 4 Multiple-Input Multiple-Output Antenna,” 2022, doi: https://doi.org/10.3390/s22166091.
[2] F. Prasetyo, E. Putra, M. A. Huda, and A. Rohman, “Computer Network Management Optimization Through Big Data Analysis Using Time Series Analysis Method,” vol. 4, no. 1, pp. 434–442, 2024, doi: https://doi.org/10.47709/brilliance.v4i1.4373.
[3] L. Algorithm, “Analysis of Mobile Robot Control by Reinforcement Learning Algorithm,” 2022, doi: https://doi.org/10.3390/electronics11111754.
[4] F. Prasetyo, E. Putra, M. Aziz, M. Irfan, and R. Alim, “Improving Network Service Quality in parts of Sampang City : QoS Evaluation and User Perception of QoE,” vol. 4, no. 1, pp. 408–412, 2024, doi: https://doi.org/10.47709/brilliance.v4i1.4311.
[5] O. Sadeghian, B. Mohammadi-ivatloo, F. Mohammadi, and Z. Abdul-malek, “Protecting Power Transmission Systems against Intelligent Physical Attacks : A Critical Systematic Review,” 2022, doi: https://doi.org/10.3390/su141912345.
[6] F. Prasetyo, E. Putra, R. W. Efendi, A. B. Tamam, and W. A. Pramadi, “Trends and Best Practices in API-Based Web Development Using Laravel and React,” vol. 5, no. 1, pp. 223–233, 2025, doi: https://doi.org/10.47709/brilliance.v5i1.5971.
[7] A. Region, “Mapping Soil Organic Matter Content Based on Feature Band Selection with ZY1-02D Hyperspectral Satellite Data in the,” 2022, doi: https://doi.org/10.3390/agronomy12092111.
[8] F. Prasetyo, E. Putra, M. Surur, and G. Arifin, “Internet Network QOS Analysis at Yala Kopitiam pamekasan Using Wireshak,” vol. 5, no. 1, pp. 190–200, 2025, doi: https://doi.org/10.47709/brilliance.v5i1.5940.
[9] S. Kwon et al., “Validation of Adhesive Single-Lead ECG Device Compared with Holter Monitoring among Non-Atrial Fibrillation Patients,” pp. 1–17, 2021, doi: https://doi.org/10.3390/s21093122.
[10] F. Prasetyo, E. Putra, A. Zulfikri, A. Rohman, and R. Alim, “Analysis Comparative of Performance Optimization Techniques for PHP Framework Testing : Laravel , CodeIgniter , Symfony,” vol. 5, no. 1, pp. 242–248, 2025, doi: https://doi.org/10.47709/brilliance.v5i1.5989.
[11] J. Hernandez-alvidrez, R. Darbali-zamora, J. D. Flicker, M. Shirazi, J. Vandermeer, and W. Thomson, “Using Energy Storage-Based Grid Forming Inverters for Operational Reserve in Hybrid Diesel Microgrids,” 2022, doi: https://doi.org/10.3390/en15072456.
[12] F. Prasetyo, E. Putra, I. N. S. Degeng, S. Ulfa, and W. Kamdi, “The Evolution of Quality Education : Impacts and Challenges of Using Open Educational Resources ( OER ) and Open Educational Practices ( OEP ) in the Conceive - Design - Implement - Operate ( CDIO ) Framework,” vol. 13, no. 1, pp. 386–395, 2024, doi: 10.18421/TEM131.
[13] C.- Patients et al., “Requirements and Solutions for Motion Limb Assistance of COVID-19 Patients,” pp. 1–12, 2022, doi: https://doi.org/10.3390/robotics11020045.
[14] F. Prasetyo, E. Putra, F. Iqbal, and N. Muhammad, “Twitter sentiment analysis about economic recession in indonesia,” vol. 7, no. 1, pp. 1–7, 2023, doi: https://doi.org/10.31763/businta.v7i1.592.
[15] F. Li et al., “A Time-Varying Incentive Optimization for Interactive Demand Response Based on Two-Step Clustering,” 2022, doi: https://doi.org/10.3390/info13090421.
[16] J. Cai, K. Sun, T. Qin, X. Bu, M. Wang, and H. Li, “Genotypic Diversity Improves Photosynthetic Traits of Hydrocotyle vulgaris and Alters Soil Organic Matter and N 2 O Emissions of Wetland Microecosystems,” 2022, doi: https://doi.org/10.3390/w14060872.
[17] D. Wajnert, “Two Models for Time-Domain Simulation of Hybrid Magnetic Bearing ’ s Characteristics,” 2022, doi: https://doi.org/10.3390/s22041567.
[18] R. Koyama, M. Ishibashi, I. Fukuda, A. Okino, R. Osawa, and Y. Uno, “Pre- and Post-Harvest Conditions Affect Polyphenol Content in Strawberry (Fragaria × ananassa),” Plants, vol. 11, no. 17, p. 2220, 2022, doi: https://doi.org/10.3390/plants11172220.
[19] L. Plutellidae, “Proteome Analysis of Male Accessory Gland,” pp. 1–20, 2023, doi: https://doi.org/10.3390/insects14020132.
[20] R. F. Alshebli, “Thermodynamics Analysis of a Membrane Distillation Crystallization Ion Recovery System for Hydroponic Greenhouses Assisted with Renewable Energy,” 2023, doi: https://doi.org/10.3390/su15031876.
[21] S. Wolfert, L. Ge, C. Verdouw, and M. Bogaardt, “Big Data in Smart Farming – A review,” Agric. Syst., vol. 153, pp. 69–80, 2017, doi: 10.1016/j.agsy.2017.01.023.
[22] K. G. Liakos, P. Busato, D. Moshou, and S. Pearson, “Machine Learning in Agriculture : A Review,” no. Ml, pp. 1–29, doi: 10.3390/s18082674.
[23] H. M. Jawad, R. Nordin, and S. K. Gharghan, “Energy-Efficient Wireless Sensor Networks for Precision Agriculture : A Review,” 2017, doi: 10.3390/s17081781.
[24] L. Klerkx, E. Jakku, and P. Labarthe, “A review of social science on digital agriculture , smart farming and agriculture 4 . 0 : New contributions and a future research agenda,” NJAS - Wageningen J. Life Sci., vol. 90–91, p. 100315, 2022, doi: 10.1016/j.njas.2019.100315.
[25] R. Zavaliev, G. Sagi, A. Gera, and B. L. Epel, “The constitutive expression of Arabidopsis plasmodesmal- associated class 1 reversibly glycosylated polypeptide impairs plant development and virus spread,” vol. 61, no. 1, pp. 131–142, 2010, doi: 10.1093/jxb/erp301.
[26] M. T. Steele and D. W. Hamilton, “Start-up of an Anaerobic Sequencing Batch Reactor ( ASBR ) Treating Low Strength Swine Manure Grand Sierra Resort and Casino,” vol. 0300, no. 096766, 2009, doi: https://doi.org/10.13031/2013.27359.
[27] J. Yang, W. Lee, and S. Han, “Detector Array for a Terahertz Real-Time Imaging System,” pp. 1–11, 2016, doi: 10.3390/s16030319.
[28] C. Intercrop et al., “Nitrogen Fixation and Nutritional Yield of,” pp. 1–15, doi: https://doi.org/10.3390/agronomy10040565.
[29] K. Bronson and I. Knezevic, “Big Data in food and agriculture,” no. June, pp. 1–5, 2016, doi: 10.1177/2053951716648174.
[30] E. Demir, E. Demir, E. Köseoğlu, R. Sokullu, and B. Şeker, “ScienceDirect ScienceDirect Smart Home Assistant for Ambient Assisted Living of Elderly Smart Home Assistant for Ambient Assisted Living of Elderly People with Dementia People with Dementia,” Procedia Comput. Sci., vol. 113, pp. 609–614, 2017, doi: 10.1016/j.procs.2017.08.302.
[31] M. L. Buchaillot et al., “Evaluating Maize Genotype Performance under Low Nitrogen Conditions Using RGB UAV Phenotyping Techniques”, doi: https://doi.org/10.3390/s19081815.
[32] N. Sharma and N. Sharma, “An Neural An Analysis Analysis Of Of Convolutional Convolutional Neural Networks Networks For For Image Image An Analysis Of Co Classification An Analysis Of Convolutional Neural Networks For Image Classification An Analysis Of Convolutional Neural and Networks For Image ScienceDirect are are,” Procedia Comput. Sci., vol. 132, no. Iccids, pp. 377–384, 2018, doi: 10.1016/j.procs.2018.05.198.
[33] Y. Cai, K. Zhang, Z. Ye, C. Liu, K. Lu, and L. Wang, “Influence of Temperature on the Natural Vibration Characteristics of Simply Supported Reinforced Concrete Beam,” 2021, doi: https://doi.org/10.3390/s21124242.
[34] J. Meléndez and G. Guarnizo, “Fast Quantification of Air Pollutants by Mid-Infrared Hyperspectral Imaging and Principal Component Analysis,” 2021, doi: https://doi.org/10.3390/s21062092.
[35] J. Ling, E. Germain, D. Saroj, and R. Murphy, “Designing a Sustainability Assessment Framework for Selecting Sustainable Wastewater Treatment Technologies in Corporate Asset Decisions,” Sustainability, vol. 13, no. 7, p. 3831, 2021, doi: https://doi.org/10.3390/su13073831.
[36] A. Review, “Smart Sensors and Smart Data for Precision Agriculture : A Review,” 2024, doi: https://doi.org/10.3390/s24082647.
[37] G. R. Sinha, “Advances in IoT and Smart Sensors for Remote Sensing and Agriculture Applications,” 2021, doi: https://doi.org/10.3390/rs13132585.
[38] T. A. Khoa, M. M. Man, T. Nguyen, and V. Nguyen, “Smart Agriculture Using IoT Multi-Sensors : A Novel Watering Management System”, doi: 10.3390/jsan8030045.
[39] X. Sigalingging and S. W. Prakosa, “SCANet : Implementation of Selective Context Adaptation Network in Smart Farming Applications,” 2023, doi: https://doi.org/10.3390/s23031358.
[40] S. N. Kumar, K. Suriyan, A. T. Jacob, A. Varghese, and E. Francis, “Smart farming for a sustainable future : implementing IoT ‑ based systems in precision agriculture,” 2025, doi: https://doi.org/10.1186/s42269-025-01366-8.
[41] A. Chourlias and J. Violos, “Internet of Things Virtual sensors for smart farming : An IoT- and AI-enabled approach,” vol. 32, no. March, 2025, doi: https://doi.org/10.1016/j.iot.2025.101611.
[42] P. Rajak, A. Ganguly, S. Adhikary, and S. Bhattacharya, “Internet of Things and smart sensors in agriculture : Scopes and challenges,” J. Agric. Food Res., vol. 14, no. June, p. 100776, 2023, doi: 10.1016/j.jafr.2023.100776.
[43] S. Murgod, T. Kabbur, B. Matte, V. Mujumdar, and M. Meenaxi, “ScienceDirect IoT-Driven Smart Farming with Machine Learning for Sustainable Food Systems,” Procedia Comput. Sci., vol. 260, pp. 552–560, 2025, doi: 10.1016/j.procs.2025.03.233.
[44] R. Trabelsi, R. Khemmar, B. Decoux, J. Ertaud, and R. Butteau, “Recent Advances in Vision-Based On-Road Behaviors Understanding : A Critical Survey,” pp. 1–27, 2022, doi: https://doi.org/10.3390/s22072654.
[45] F. Prasetyo, E. Putra, A. Zulfikri, G. Arifin, and R. M. Ilhamsyah, “Analysis of Phishing Attack Trends , Impacts and Prevention Methods : Literature Study,” vol. 4, no. 1, pp. 413–421, 2024, doi: https://doi.org/10.47709/brilliance.v4i1.4357.
[46] D. Radzikowska-kujawska, P. John, T. Piechota, M. Nowicki, and P. Ł. Kowalczewski, “Response of Winter Wheat ( Triticum aestivum L .) to Selected Biostimulants under Drought Conditions,” pp. 1–14, 2022, doi: https://doi.org/10.3390/agriculture13010121.
[47] U. Ludewig, “Nitrogen Fertilizer Type and Genotype as Drivers of P Acquisition and Rhizosphere Microbiota Assembly in Juvenile Maize Plants,” 2023, doi: https://doi.org/10.3390/plants12030544.
[48] F. Prasetyo, E. Putra, R. O. F. Kusuma, A. Mu, and A. Efendy, “Effect Of Distance On Wi-Fi Signal Quality In The Home Environment,” vol. 4, no. 1, pp. 391–398, 2024, doi: https://doi.org/10.47709/brilliance.v4i1.4319.
[49] Y. Ma, S. Guga, J. Xu, X. Liu, Z. Tong, and J. Zhang, “Evaluation of Drought Vulnerability of Maize and Influencing Factors in Songliao Plain Based on the SE-DEA-Tobit Model,” 2022, doi: https://doi.org/10.3390/rs14153711.
[50] F. Prasetyo, E. Putra, M. Dafid, and I. Syafi, “Firewall Implementation as a Computer Network Security Strategy for Data Protection,” vol. 5, no. 1, pp. 291–297, 2025, doi: https://doi.org/10.47709/brilliance.v5i1.6162.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Mohammad Faisol (Penulis); Syamsul Arifin (Penerjemah)

This work is licensed under a Creative Commons Attribution 4.0 International License.








