Metaheuristic Optimized Mamdani Fuzzy Inference System for Soil pH Prediction and pH-Based Soil Condition Assessment in Papaya Cultivation
Adequate soil quality is essential for ensuring the productivity and sustainability of agriculture, with soil pH being a key variable due to its influence on nutrient availability, microbial activity, and plant development. This study proposes a Mamdani fuzzy inference system (FIS) optimized through metaheuristic algorithms for soil pH prediction in papaya (Carica papaya L.) cultivation, a crop highly sensitive to pH fluctuations within the rhizosphere. Soil temperature and soil moisture were used as independent variables, while the estimated soil pH constituted the dependent variable of the system. Three optimization techniques—genetic algorithms (GAs), Differential Evolution (DE), and Particle Swarm Optimization (PSO)—were evaluated to optimize the membership functions and fuzzy rule base of the Mamdani FIS. Model performance was assessed through 30 independent runs using 1500 records collected from a commercial papaya plantation. Across the 30 independent runs, the GA-optimized model achieved the best overall predictive performance, with a Mean Absolute Error (MAE) of 0.3636 ± 0.0035, Mean Relative Error (MRE) of 0.0554 ± 0.0004, and mean coefficient of determination (r2) of 0.8699 ± 0.0048. The best observed GA values were an MAE of 0.3305, MRE of 0.0513, and r2 of 0.8957. In addition, a web-based decision support platform and an automated Telegram alert system were developed for event-driven pH alert notification. The results confirm that GA-optimized fuzzy systems constitute an effective, interpretable, and practical tool for pH-based soil condition monitoring and agronomic decision support in precision agriculture.
Authors
- Leonel Soriano-Equigua (ORCID: https://orcid.org/0000-0001-6673-2050)
- Juan García-Virgen (ORCID: https://orcid.org/0000-0002-8913-427X)
- José L. Álvarez-Flores (ORCID: https://orcid.org/0000-0002-7142-4391)
- Dewar Rico-Bautista (ORCID: https://orcid.org/0000-0002-1808-3874)
- Noel García-Díaz (ORCID: https://orcid.org/0000-0002-7078-0941)
- Ana-Claudia Ruiz-Tadeo
- Arturo-Iván Jardines-González
- Jesús-Alberto Verduzco-Ramírez
- Carlos-David Echevarría-Lezcano
Institutions
- Francisco de Paula Santander University (CO)
- Universidad de Colima (MX)
Publication Details
- Journal
- Agriculture
- Published
- 2026-08-21
- DOI
- https://doi.org/10.3390/agriculture16161800
- Primary Topic
- Banana Cultivation and Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00