Maturity Prediction and Correlation Analysis of Additive-Treated Cattle and Sheep Manure Composts and Vermicomposts Using Machine Learning Algorithms
Open Access
- 9 April 2026
- journal article
- research article
- Published by MDPI AG in Agriculture
- Vol. 16 (8) , 834
Abstract
Accurate prediction of compost maturity is vital for ensuring quality, safety, minimum substrate weight loss and agronomic performance of compost products. In this study, eight supervised machine learning (ML) classification models including Random Forest, Logistic Regression, Decision Tree, Gaussian and Multinomial Naive Bayes, K-Nearest Neighbors, Support Vector Machine, and AdaBoost were systematically evaluated for their ability to predict compost maturity using three key indicators: cation exchange capacity (CEC), carbon to nitrogen ratio (C/N), and humic acid (HA) content. A dataset comprising 756 samples (4 composting/vermicomposting systems × 7 treatments × 9 time points × 3 replicates) was generated. To reduce replicate-induced variability and ensure robust machine learning analysis, triplicates were averaged at each time point, resulting in 252 effective observations used for model development. Pearson correlation and heatmap analysis indicated strong interdependencies among CEC, HA, total nitrogen (TN) and organic matter (OM) content, confirming their collective utility in compost maturity classification. Model performance was assessed based on classification metrics (accuracy, precision, recall, F1-score) and regression-based error indicators, including mean absolute error (MAE), mean squared error (MSE), root mean squared error (RMSE), and coefficient of determination (R2). Ensemble models, particularly RF and AdaBoost, showed the highest predictive accuracy (up to 0.98) and lowest error rates (e.g., MAE < 0.05, RMSE < 0.1, R2 > 0.95) when predicting CEC and C/N-based maturity classes. HA-based predictions showed slightly lower precision and higher variance across models.Keywords
This publication has 41 references indexed in Scilit:
- From invasive species to agricultural resource: evaluation of Phragmites australis from Zarivar Lake as an organic amendment for the release of phosphorus, potassium, micronutrients and toxic metalsDiscover Applied Sciences, 2025
- Deciphering the carbon and nitrogen component conversion in humification process mediated by distinct microbial mechanisms in composting from different domestic organic wastesEnvironmental Science and Pollution Research, 2024
- Prediction of composting maturity and identification of critical parameters for green waste compost using machine learningBioresource Technology, 2023
- High oil content inhibits humification in food waste composting by affecting microbial community succession and organic matter degradationBioresource Technology, 2023
- Machine learning for hydrothermal treatment of biomass: A reviewBioresource Technology, 2022
- Modelling and optimization of sewage sludge composting using biomass ash via deep neural network and genetic algorithmBioresource Technology, 2022
- Improving kitchen waste composting maturity by optimizing the processing parameters based on machine learning modelBioresource Technology, 2022
- Applications of hybrid models in chemical, petroleum, and energy systems: A systematic reviewApplied Energy, 2018
- Composting of animal manures and chemical criteria for compost maturity assessment. A reviewBioresource Technology, 2009
- Dehydrogenase activity as a method for monitoring the composting processBioresource Technology, 2008