Authors: Sani Hashin, K. M. Aujara, Hamza Garba, Abubakar Saddiq Muhammad, Adamu Tukur
Abstract: Biochar has emerged as a low-cost, environmentally sustainable adsorbent for removing industrial pollutants, including heavy metals, dyes, and organic contaminants from aqueous effluents. However, predicting removal efficiency across the wide range of biochar feedstocks, pyrolysis conditions, and operational parameters reported in the literatures remains challenging using conventional isotherm and kinetic models alone. This study proposes a machine learning (ML) framework to predict biochar-based pollutant removal efficiency from physicochemical and operational parameters, and systematically compares the performance of classical regression models against artificial neural networks (ANNs). A dataset comprising 220 adsorption parameters was compiled, incorporating biochar characteristics (pyrolysis temperature, surface area, pore volume, cation exchange capacity, pH, elemental composition) and operational conditions (initial pollutant concentration, adsorbent dosage, contact time, solution pH, and temperature) as input features, with removal efficiency (%) as the target variable. Multiple linear regression (MLR), ridge and lasso regression, support vector regression (SVR), random forest (RF), gradient boosting, and a multilayer perceptron (MLP)-based ANN were trained and evaluated using 5-fold cross-validation and an independent held-out test set. Model performance was assessed using R², root mean square error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE), and feature importance was evaluated using intrinsic tree-based importance and permutation importance. Regularized linear models (Lasso R² = 0.649; Ridge R² = 0.634) and the ANN (R² = 0.601) achieved the strongest and most stable test-set performance, while ensemble tree-based methods (Random Forest, Gradient Boosting) underperformed on this dataset. Initial pollutant concentration, adsorbent dosage, surface area, and cation exchange capacity were consistently identified as the dominant predictors of removal efficiency. The proposed framework, together with its fully reproducible data-generation and modeling pipeline, offers a data driven, generalizable tool for predicting and optimizing biochar adsorption performance, reducing reliance on extensive trial-and-error experimentation, and supporting the design of biochar-based treatment systems for industrial wastewater management.