Resumen
Agriculture plays a key role in global food security. Agriculture is critical to global food security and economic development. Precision farming using machine learning (ML) and the Internet of Things (IoT) is a promising approach to increasing crop productivity and optimizing resource use. This paper presents an integrated crop and fertilizer recommendation system aimed at optimizing agricultural practices in Rwanda. The system is built on two predictive models: a machine learning model for crop recommendations and a rule-based fertilization recommendation model. The crop recommendation system is based on a neural network model trained on a dataset of major Rwandan crops and their key growth parameters such as nitrogen, phosphorus, potassium levels, and soil pH. The fertilizer recommendation system uses a rule-based approach to provide personalized fertilizer recommendations based on pre-compiled tables. The proposed prediction model achieves 97% accuracy. The study makes a significant contribution to the field of precision agriculture by providing decision support tools that combine artificial intelligence and domain knowledge.