Devianti, Helmi, Siti Mechram, Hendri Syah
The main challenge lies in the instability of spectral data due to variations in raw materials and fermentation conditions, which often leads to decreased prediction accuracy. This study aims to develop a rapid prediction model for nitrogen (N), phosphorus (P), and potassium (K) content in ecoenzymes using FT-NIR spectral descriptors (800–2500 nm) integrated with the automatic combination of preprocessing and hyperparameter (ACPH) method and ensemble machine learning (EML). A total of 70 NIR spectra of ecoenzyme samples were analyzed with 1001 spectral features and divided into calibration and prediction data with a 90:10 ratio using 5-fold cross-validation. The PLSR-based ACPH model, optimized with 12 types of preprocessing and 9 latent variables, was compared with the EML model, which combines 11 basic algorithms through a PLSR meta-learner. The results showed that the EML model provided the best performance for predicting N-content (Rp2 = 0.958; RMSEP = 0.0013%), P-content (Rp2 = 0.809; RMSEP = 0.1118%), and K-content (Rp2 = 0.822; RMSEP = 0.0351%) content, with RPD values between 2.285 and 4.872 indicating high reliability. The integration of FT-NIR descriptors with ensemble learning algorithms demonstrates the great potential of applying artificial intelligence for rapid monitoring of agricultural waste-based ecoenzyme macronutrients, thereby supporting environmentally friendly production and efficiency in organic resource management. © 2026 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY-NC-ND license. http://creativecommons.org/licenses/by-nc-nd/4.0/
Department of Agricultural Engineering, Faculty of Agriculture, Syiah Kuala University, Banda Aceh, 23111, Indonesia; Agricultural Mechanization Research Centre, Syiah Kuala University, Banda Aceh, 23111, Indonesia; Department of Soil Science, Syiah Kuala University, Banda Aceh, 23111, Indonesia
Research at a Glance
Register to unlockTopics & SDG Alignment
Register to unlockCollaboration
Register to unlockAuthor Profile (Selected)
Register to unlockReferences Overview
Register to unlockJournal & Source
Register to unlockMetadata & Integrity
Register to unlock