TY - GEN
T1 - Predicting Aflatoxin Contamination in Crops Using Machine Learning Algorithms
AU - Mgandu, Filimon Abel
AU - Mirau, Silas
AU - Nyerere, Nkuba
AU - Chirove, Faraimunashe
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - Aflatoxin is a common contaminant in grains and cereals, creating serious health hazards for consumers and economic challenges for producers. Reliable prediction of whether its levels surpass safe thresholds using weather data, soil properties, and farming practices is essential for guiding informed decisions. In this study, four machine learning algorithms: Gaussian Process Classification (GPC), Support Vector Machine (SVM), Random Forest Classifier (RFC), and K-Nearest Neighbours (KNN) were applied to predict aflatoxin contamination in maize and groundnuts. GPC outperformed other models by predicting correctly 92 out 100 groundnuts samples (92%) and 93 out of 100 maize samples (93%). The findings indicate that humidity and rainfall are stronger predictors of aflatoxin contamination compared to temperature or soil p H. This work represents an important step toward applying machine learning techniques for aflatoxin prediction in crops. Nevertheless, the study is primarily simulation-based, serving to highlight the potential of machine learning models when applied to available datasets.
AB - Aflatoxin is a common contaminant in grains and cereals, creating serious health hazards for consumers and economic challenges for producers. Reliable prediction of whether its levels surpass safe thresholds using weather data, soil properties, and farming practices is essential for guiding informed decisions. In this study, four machine learning algorithms: Gaussian Process Classification (GPC), Support Vector Machine (SVM), Random Forest Classifier (RFC), and K-Nearest Neighbours (KNN) were applied to predict aflatoxin contamination in maize and groundnuts. GPC outperformed other models by predicting correctly 92 out 100 groundnuts samples (92%) and 93 out of 100 maize samples (93%). The findings indicate that humidity and rainfall are stronger predictors of aflatoxin contamination compared to temperature or soil p H. This work represents an important step toward applying machine learning techniques for aflatoxin prediction in crops. Nevertheless, the study is primarily simulation-based, serving to highlight the potential of machine learning models when applied to available datasets.
KW - Aflatoxin contamination
KW - Gaussian process classification
KW - Machine learning
KW - Permutation feature importance
UR - https://www.scopus.com/pages/publications/105031395852
U2 - 10.1109/ICECCME64568.2025.11277748
DO - 10.1109/ICECCME64568.2025.11277748
M3 - Conference contribution
AN - SCOPUS:105031395852
T3 - International Conference on Electrical, Computer, Communications and Mechatronics Engineering, ICECCME 2025
BT - International Conference on Electrical, Computer, Communications and Mechatronics Engineering, ICECCME 2025
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 5th International Conference on Electrical, Computer, Communications and Mechatronics Engineering, ICECCME 2025
Y2 - 16 October 2025 through 19 October 2025
ER -