Skip to Content
MoleculesMolecules
  • Article
  • Open Access

27 August 2026

29 Pages

Explainable Artificial Intelligence Assisted Modeling of Malachite Green Adsorption onto SBA-15–Zn–Fe Composite

,
,
and
1
Department of Chemical Engineering, Faculty of Engineering and Natural Sciences, Sivas University of Science and Technology, 58000 Sivas, Türkiye
2
Department of Software Engineering, Faculty of Engineering and Natural Sciences, Istanbul Atlas University, 34408 Istanbul, Türkiye
3
Department of Computer Engineering, Faculty of Engineering and Natural Sciences, Sivas University of Science and Technology, 58000 Sivas, Türkiye
*
Author to whom correspondence should be addressed.

Abstract

Dye-containing industrial effluents pose substantial risks to aquatic ecosystems. In this study, a material prepared using the stated SBA-15–Zn–Fe synthesis procedure was evaluated for malachite green (MG) removal and modeled using machine-learning and explainable artificial intelligence techniques. The dataset comprised 315 experimental observations covering initial MG concentrations of 100–500 mg L−1, adsorbent concentrations of 0.5–3.0 g L−1, pH values of 5–9, temperatures of 25–45 °C, and contact times of 0–360 min. At an initial MG concentration of 500 mg L−1, an adsorbent concentration of 1.0 g L−1, pH 9.0, 45 °C, and 90 min, the material achieved 99.65% MG removal. The Langmuir-estimated maximum monolayer capacity was 1428.57 mg g−1. A multilayer perceptron (MLP) with a 100–50–25–12 hidden-layer architecture, hyperbolic tangent activation, and L-BFGS optimization was developed to predict residual MG concentration. The prespecified MLP achieved an R 2 of 0.9624 on the strictly held-out 20% internal test subset. Five-fold cross-validation yielded a mean R 2 of 0.8420 with a fold-wise standard deviation of 0.1273, while pooled contact-time-based LOGO-CV yielded an R 2 of 0.7411, indicating reduced transferability when entire contact-time groups were excluded from fitting. Nominal 95% CV+ prediction intervals achieved 98.41% empirical coverage on the held-out test subset, although their relatively broad widths indicated non-negligible predictive uncertainty. PFI and SHAP showed that the fitted MLP relied most strongly on contact time and initial MG concentration. Longer contact times were generally associated with lower predicted residual concentrations, whereas higher initial concentrations were associated with higher predicted residual concentrations. Overall, the framework provided an interpretable assessment of MG adsorption within the investigated experimental domain; external validity and extrapolation beyond this domain were not established.

1. Introduction

Water pollution has become a major environmental concern because of rapid industrialization, population growth, and the uncontrolled discharge of wastes originating from industrial, agricultural, and domestic activities. These discharges can alter the physicochemical composition of natural water resources and produce adverse effects on aquatic ecosystems and human health [1]. Among the major contaminants found in industrial effluents, heavy metals and synthetic dyes may present substantial environmental and toxicological risks even at relatively low concentrations. Therefore, the development of effective water-treatment technologies remains an important research priority.
Synthetic dyes used in textile and related industries may enter aquatic environments during manufacturing, processing, and wastewater discharge [2,3]. Malachite green (MG) is a cationic triphenylmethane dye that has been widely used in the paper, leather, plastics, textile, and aquaculture industries. Its release into water bodies can reduce light penetration, inhibit photosynthetic activity, and generate toxic, mutagenic, and potentially carcinogenic effects in aquatic organisms [4,5,6,7]. Consequently, the efficient removal of MG from aqueous media is necessary before contaminated effluents are discharged into receiving environments.
Adsorption is widely used for contaminant removal because of its operational flexibility, relatively simple design, and high removal efficiency [8]. Among the adsorbent materials developed for this purpose, SBA-15 has attracted considerable attention because of its high specific surface area, ordered mesoporous structure, narrow pore-size distribution, thermal stability, and ease of surface modification [9,10,11]. Metal-modified SBA-15 materials, including Fe/SBA-15-based composites, have also been investigated to improve the surface reactivity, adsorption performance, and physicochemical stability of the parent mesoporous silica [12].
Several studies have examined SBA-15 and its modified derivatives for the adsorption of organic dyes. Ebrahimpour et al. investigated the simultaneous adsorption of crystal violet, MG, and methylene blue using SBA-15 mesoporous nanoparticles [13], whereas Chaudhuri et al. evaluated SBA-15 for the removal of neutral red, safranin O, reactive red 2, and Congo red [14]. Different modification strategies have subsequently been proposed to enhance the adsorption properties of SBA-15, including magnetic nanocomposite formation [15], metal oxide incorporation [16], amino functionalization [17], polymer grafting [18], biopolymer modification [19], and metal–organic-framework-based composite fabrication [20]. These studies demonstrate that the adsorption properties of SBA-15 can be tailored by modifying its surface chemistry and composite structure.
Despite these advances, the quantitative description of adsorption systems remains challenging because adsorption behavior may be governed simultaneously by equilibrium, kinetic, mass-transfer, and physicochemical effects. Conventional regression and mechanistic models may not adequately capture complex nonlinear interactions among operational variables. Accordingly, data-driven machine-learning methods, particularly artificial neural networks (ANNs), have been increasingly employed to model, predict, and optimize adsorption processes. Elngar et al. reviewed artificial-intelligence applications in adsorption-based wastewater treatment and emphasized their potential to improve predictive accuracy, operational efficiency, and process optimization [21]. El Mallahi et al. and Reynel-Ávila et al. similarly highlighted the growing role of machine-learning approaches in adsorption modeling and optimization [22,23]. Recent reviews have also summarized current developments, methodological limitations, and future research directions for machine-learning-assisted dye-removal processes [24,25].
Artificial intelligence methods have also been applied specifically to MG adsorption. Nascimento et al. developed ANN-based models for MG adsorption onto baru fruit endocarp [26], while Karishma et al. modeled adsorption behavior using raw and carbonized Spirogyra maxima biomass [27]. Sudarsan et al. reported that ANN and adaptive neuro-fuzzy inference system (ANFIS)-based approaches outperformed conventional regression methods for MG adsorption onto superparamagnetic activated carbon and identified contact time as an influential process variable [28]. In a related study, the same research group combined experimental analysis with ANN and ANFIS models to investigate MG adsorption onto magnetic activated carbon [29]. Collectively, these studies indicate that nonlinear predictive models can provide useful representations of MG adsorption behavior when the experimental design includes multiple interacting process variables.
The predictive performance of ANN models depends strongly on network architecture, activation functions, optimization algorithms, data preprocessing, and validation design. Tayebi et al. compared multilayer perceptron (MLP), radial basis function, and group method of data handling models for dye adsorption onto an SBA-15-based hybrid adsorbent and reported favorable predictive performance for the MLP approach [30]. Wang et al. evaluated different optimization algorithms, activation functions, and hidden-neuron configurations for ANN-based MG adsorption modeling and demonstrated the importance of appropriate hyperparameter selection [31]. Alsaffar et al. also showed that activation-function choice and hidden-layer size can substantially affect ANN performance in adsorption-capacity prediction [32].
However, high apparent prediction accuracy does not necessarily imply that a model will generalize reliably to experimentally distinct conditions. Randomly partitioning observations that share common experimental structures may allow closely related samples to appear in both the training and validation subsets, thereby producing overoptimistic performance estimates through data leakage [33]. Furthermore, machine-learning models often exhibit reduced performance when applied to conditions or material domains that are not adequately represented during training [34]. These limitations indicate that conventional randomly partitioned cross-validation should be complemented by validation strategies that preserve relevant experimental group structures.
A further limitation of high-performing ANN and MLP models is their black-box character, which restricts direct interpretation of how the input variables contribute to individual predictions. Explainable artificial intelligence (XAI) methods can partially address this limitation by quantifying global feature importance and local feature-specific contributions. Khajavian et al. reviewed the application of SHapley Additive exPlanations (SHAP) in adsorption-based environmental remediation and emphasized its potential to improve the transparency and interpretability of machine-learning models [35].
In this study, MG adsorption onto an SBA-15–Zn–Fe composite was experimentally investigated and modeled using an MLP trained with the hyperbolic tangent activation function and the limited-memory Broyden–Fletcher–Goldfarb–Shanno algorithm. In addition to conventional five-fold cross-validation, contact-time-based leave-one-group-out cross-validation was employed to evaluate the transferability of the model to contact-time groups excluded from the corresponding training iterations. Permutation Feature Importance and SHAP analyses were subsequently applied to quantify the global and local contributions of the operational variables to the predicted residual MG concentration.
Although MLP models and XAI methods have increasingly been applied to adsorption-process modeling, their combined use alone does not constitute methodological novelty. Many existing studies rely primarily on randomly partitioned validation data and a single post hoc explanation method, which may produce optimistic performance estimates when structurally related observations are distributed across the training and validation subsets and may not distinguish global model reliance from local directional effects. The distinctive contribution of the present study is therefore the integration of three complementary elements within a unified framework: (i) nonlinear MLP-based prediction of residual MG concentration for the experimentally investigated SBA-15–Zn–Fe adsorption system; (ii) contact-time-based leave-one-group-out cross-validation, with preprocessing conducted independently within each training partition, to reduce group-related information leakage and assess transferability to contact-time conditions excluded from model fitting; (iii) complementary PFI and SHAP analyses that quantify, respectively, global predictive reliance and local directional feature contributions. This framework enables predictive accuracy, robustness to grouped experimental conditions, and model-based physicochemical interpretation to be evaluated jointly. Thus, the scientific contribution lies not in the individual application of MLP, PFI, or SHAP, but in their group-aware and complementary integration for the transparent assessment of the SBA-15–Zn–Fe/MG adsorption system within the investigated experimental domain.

2. Materials and Methods

2.1. Materials

All chemicals were of analytical grade and used without further purification. Tetraethyl orthosilicate (TEOS), Pluronic P123, cetyltrimethylammonium bromide (CTAB), FeSO 4 · 7 H 2 O, zinc powder, polyvinylpyrrolidone (PVP, M w ≈ 55,000 ), HCl, H2SO4, ethanol, and NaOH were obtained from Sigma-Aldrich (St. Louis, MO, USA) or Merck (Darmstadt, Germany). Malachite Green oxalate (C.I. 42,000, λ max = 618 nm, M w = 365 g/mol) was obtained from Sigma-Aldrich and used as the cationic dye.

2.2. Synthesis of the SBA-15–Zn–Fe Composite

SBA-15 was synthesized by using triblock copolymer P123 ( PEO 20 PPO 70 PEO 20 ). Briefly, 3 g of P123 was dissolved in 60 mL of HCl (1.5M). Then, 0.6 g of CTAB was dissolved in 25 mL of pure water and added to the P123 solution together with 20 mL of ethanol to prepare the surfactant solution. After mixing at room temperature, 10 mL of TEOS was added dropwise, and the mixture was stirred at 35 °C for 5 h, and then the obtained mixture was kept in an oven under static conditions at 90 °C for 3 days. The resulting solid material was filtered, washed with pure water, and calcined at 540 °C for 5 h to obtain SBA-15 [36,37].
For the synthesis of the SBA-15–Zn–Fe composite, 1.5 g of zinc powder and 0.5 g of SBA-15 were mixed, followed by the addition of 2 mL of 1 % (w/v) PVP solution. The mixture was stirred for 30 min, dried at 50 °C for 12 h, and then calcined at 550 °C for 2 h to obtain the SBA-15–Zn composite. After that, 0.5 g of FeSO 4 · 7 H 2 O was dissolved in 200 mL of distilled water adjusted to pH 3.0 by using H2SO4, and 1 g of SBA-15–Zn was added to the solution. The mixture was stirred for 1 h at room temperature, and the obtained SBA-15–Zn–Fe composite was separated by centrifugation (5000 rpm, 5 min), washed with deionized water, and dried at 105 °C. PVP was used as a binding agent to promote the association of zinc particles with SBA-15. Subsequently, the SBA-15–Zn material was treated with FeSO 4 under conditions intended to promote a chemical replacement reaction between Fe 2 + and Zn0, following the procedure reported in [38]. Because the elemental composition and chemical states of the metal-containing species were not independently characterized, the occurrence and extent of this proposed replacement reaction could not be conclusively verified.
The textural parameters of SBA-15 and the SBA-15–Zn–Fe composite were obtained from nitrogen adsorption measurements at 76.256 K using a Micromeritics ASAP 2020 (Micromeritics Instrument Corporation, Norcross, GA, USA) surface area and porosity analyzer operated with software version 3.00 G. The specific surface area, S BET , was determined using the Brunauer–Emmett–Teller method, and the average pore diameter, d BJH , was obtained using the Barrett–Joyner–Halenda method. The total pore volume, V T , was also obtained from the nitrogen adsorption analysis. The resulting textural parameters are presented in Supplementary Table S2.

2.3. Adsorption Experiments

A stock MG solution with a concentration of 1.0 g L−1 was prepared by dissolving 1.0 g of MG in 1 L of distilled water. Working solutions with initial MG concentrations ranging from 100 to 500 mg L−1 were prepared by diluting the stock solution with distilled water. The initial pH of each solution was adjusted using 0.1 N HCl or 0.1 N NaOH.
Batch adsorption experiments were conducted in 100 mL Erlenmeyer flasks containing 50 mL of MG solution. Except for the experiments specifically designed to investigate the effect of adsorbent concentration, 0.05 g of the SBA-15–Zn–Fe material was added to each flask, corresponding to an adsorbent concentration of 1.0 g L−1. The flasks were agitated under constant shaking and the temperature conditions specified in the experimental design. Samples were collected before the addition of the adsorbent and at predetermined contact times during the adsorption experiments. After centrifugation, the residual MG concentration in the supernatant was determined using a Microplate spectrophotometer (Infinite M Nano, TECAN, Grödig (Salzburg), Austria [Tecan Austria GmbH]) at an ultraviolet-visible (UV–vis) wavelength of 618 nm.
The resulting dataset comprised 315 experimental observations. The five input variables were the initial MG concentration ( C 0 , 100–500 mg L−1), adsorbent concentration ( X 0 , 0.5–3.0 g L−1), contact time (t, 0–360 min), initial solution pH (5–9), and temperature (T, 25–45 °C). The residual MG concentration in the liquid phase at contact time t, denoted by C t (mg L−1), was used as the response variable for machine-learning modeling.
The adsorption capacity at contact time t, q t (mg g−1), and the equilibrium removal efficiency were calculated as
q t = ( C 0 − C t ) V m
and
Removal efficiency ( % ) = 100 C 0 − C e C 0 ,
respectively, where C 0 , C t , and  C e (mg L−1) denote the initial, time-dependent, and equilibrium MG concentrations, respectively; V (L) is the solution volume; and m (g) is the adsorbent mass. The adsorbent concentration was defined as X 0 = m / V .

2.4. Exploratory Statistical Analysis and Linear Modeling

Statistical analyses were conducted to characterize the experimental dataset and to examine the linear relationships between the operational variables and the residual malachite green (MG) concentration. The independent variables were adsorbent concentration ( X 0 , g L − 1 ), temperature (T, °C), initial MG concentration ( C 0 , mg L − 1 ), initial solution pH, and contact time (t, min). The residual MG concentration at contact time t, denoted by C t ( mg L − 1 ), was treated as the dependent variable.
Descriptive statistics, including the arithmetic mean, standard deviation, minimum, and maximum, were calculated for each variable. These statistics were used to summarize the central tendency, dispersion, and experimental ranges represented in the dataset.
Pairwise linear associations among the experimental variables were evaluated using Pearson’s product–moment correlation coefficient [39]. For two variables X and Y, the Pearson correlation coefficient was calculated as
r X Y = ∑ i = 1 N X i − X ¯ Y i − Y ¯ ∑ i = 1 N X i − X ¯ 2 ∑ i = 1 N Y i − Y ¯ 2 .
In Equation (3), N = 315 is the number of experimental observations, X i and Y i are the observed values of the two variables, and X ¯ and Y ¯ are their corresponding sample means. A correlation matrix was constructed to evaluate the direction and strength of the pairwise linear associations among X 0 , T, C 0 , pH , t, and  C t . The resulting coefficients were interpreted as measures of linear association rather than evidence of causal relationships [39].
A multiple linear regression (MLR) model was subsequently fitted using the ordinary least squares (OLS) method to quantify the simultaneous linear relationships between the five operational variables and the residual MG concentration [40]. The regression model was specified as
C t , i = β 0 + β 1 X 0 , i + β 2 T i + β 3 C 0 , i + β 4 pH i + β 5 t i + ε i , i = 1 , … , N ,
where β 0 is the intercept, β 1 , … , β 5 are the regression coefficients, and  ε i denotes the residual error associated with the i-th observation.
The OLS estimate of the coefficient vector was obtained by minimizing the residual sum of squares:
β ^ = arg min β ∑ i = 1 N C t , i − C ^ t , i 2 ,
where C ^ t , i is the residual MG concentration predicted by the fitted linear regression model.
The proportion of the observed variability in C t explained by the MLR model was evaluated using the coefficient of determination:
R 2 = 1 − ∑ i = 1 N C t , i − C ^ t , i 2 ∑ i = 1 N C t , i − C ¯ t 2 ,
where C ¯ t denotes the sample mean of the measured residual MG concentrations.
The statistical significance of each regression coefficient was evaluated using its corresponding t-statistic and two-sided p-value. Analysis of variance (ANOVA) was used to partition the variability associated with the fitted regression model and the unexplained residual error, and to calculate the corresponding predictor-level F-statistics [40]. A nominal significance level of α sig = 0.05 was adopted. Accordingly, p < α sig was considered statistically significant. Nevertheless, the p-values were interpreted together with the signs and magnitudes of the estimated coefficients and were not treated as independent measures of scientific or practical importance [41].
The linear analyses were used as an exploratory benchmark rather than as the principal predictive model. In particular, the MLR results provided a reference for assessing whether nonlinear modeling was warranted and for comparing the statistical associations with the feature-importance patterns subsequently obtained from the MLP, PFI, and SHAP analyses.
All statistical calculations and graphical analyses were performed in Python 3.13. The OLS regression and ANOVA procedures were implemented using the statsmodels statistical modeling library [42].

2.5. Multilayer Perceptron (MLP) Modeling

An MLP is a feedforward artificial neural network capable of representing complex nonlinear relationships between input and output variables [43]. In this study, the MLP consisted of an input layer with five nodes, four hidden layers containing 100, 50, 25, and 12 neurons, respectively, and a single-node regression output layer. The specific layer widths were prespecified as an expansion–tapering architecture rather than identified through an exhaustive architecture or hyperparameter search.
The first hidden layer maps the five standardized physicochemical input variables into an expanded nonlinear representation, thereby providing sufficient representational capacity for modeling interactions among the adsorption parameters. The subsequent reduction in hidden-layer width from 100 to 50, 25, and 12 neurons progressively produces a more compact internal representation before the scalar output. This structural rationale explains the intended role of the architecture but does not establish that the selected configuration is globally optimal, physically constrained, or inherently resistant to overfitting. Its predictive adequacy was therefore evaluated empirically using the validation procedures described in Section 2.6.
For the i-th experimental observation, the input vector was defined as
x i = X 0 , i T i C 0 , i pH i t i T ∈ R 5 .
Here, X 0 denotes the adsorbent concentration, T is the temperature, C 0 is the initial MG concentration, pH is the initial solution pH, and t is the contact time. The response variable was the residual MG concentration C t , i .
Because the input variables were measured in different physical units and numerical ranges, each feature was standardized before model training [44]. For the j-th feature of the i-th observation, the standardized value was calculated as
x ˜ i j = x i j − μ j , tr σ j , tr , j = 1 , … , 5 .
where μ j , tr and σ j , tr are the mean and standard deviation of the j-th feature calculated exclusively from the corresponding training subset.
The response variable was also standardized using statistics calculated exclusively from the corresponding training subset:
C ˜ t , i = C t , i − μ C t , tr σ C t , tr .
In Equation (9), μ C t , tr and σ C t , tr denote the training-subset mean and standard deviation of the residual MG concentration. The same training-derived transformations were applied to the corresponding validation and test observations without re-estimation.
Let x ˜ i = x ˜ i 1 x ˜ i 2 x ˜ i 3 x ˜ i 4 x ˜ i 5 T denote the standardized input vector. The output of the input layer was defined as
h i ( 0 ) = x ˜ i .
For the ℓ-th hidden layer, the affine transformation and nonlinear activation operations were defined as
z i ( ℓ ) = W ( ℓ ) h i ( ℓ − 1 ) + b ( ℓ ) , h i ( ℓ ) = f z i ( ℓ ) , ℓ = 1 , 2 , 3 , 4 ,
where W ( ℓ ) is the weight matrix, b ( ℓ ) is the bias vector, z i ( ℓ ) is the pre-activation vector, and  h i ( ℓ ) is the output of the corresponding hidden layer.
The hyperbolic tangent activation function was applied componentwise in all hidden layers and was defined as
f ( z ) = tanh ( z ) = exp ( z ) − exp ( − z ) exp ( z ) + exp ( − z ) .
According to Equations (11) and (12), the outputs of the four hidden layers were obtained successively as
h i ( 1 ) = tanh W ( 1 ) x ˜ i + b ( 1 ) , h i ( 2 ) = tanh W ( 2 ) h i ( 1 ) + b ( 2 ) , h i ( 3 ) = tanh W ( 3 ) h i ( 2 ) + b ( 3 ) , h i ( 4 ) = tanh W ( 4 ) h i ( 3 ) + b ( 4 ) .
For the selected 100–50–25–12 hidden-layer configuration, the dimensions of the weight matrices and bias vectors were
W ( 1 ) ∈ R 100 × 5 , b ( 1 ) ∈ R 100 , W ( 2 ) ∈ R 50 × 100 , b ( 2 ) ∈ R 50 , W ( 3 ) ∈ R 25 × 50 , b ( 3 ) ∈ R 25 , W ( 4 ) ∈ R 12 × 25 , b ( 4 ) ∈ R 12 .
Because the response variable was continuous, an identity activation function was used in the single-node output layer. The predicted standardized residual MG concentration was therefore expressed as
C ˜ ^ t , i = W ( 5 ) h i ( 4 ) + b ( 5 ) .
The output-layer weight matrix and bias had the dimensions W ( 5 ) ∈ R 1 × 12 , b ( 5 ) ∈ R .
Predictions on the original residual-concentration scale were obtained using the inverse transformation
C ^ t , i = σ C t , tr C ˜ ^ t , i + μ C t , tr .
Accordingly, the standardized forward propagation of the MLP model was summarized recursively as
h i ( 0 ) = x ˜ i , h i ( ℓ ) = tanh W ( ℓ ) h i ( ℓ − 1 ) + b ( ℓ ) , ℓ = 1 , 2 , 3 , 4 , C ˜ ^ t , i = W ( 5 ) h i ( 4 ) + b ( 5 ) .
Let
θ = W ( 1 ) , W ( 2 ) , W ( 3 ) , W ( 4 ) , W ( 5 ) , b ( 1 ) , b ( 2 ) , b ( 3 ) , b ( 4 ) , b ( 5 )
denote the complete set of trainable model parameters.
For a training subset containing N tr observations, the network parameters were estimated by minimizing the regularized squared-error objective function
J ( θ ) = 1 2 N tr ∑ i = 1 N tr C ˜ t , i − C ˜ ^ t , i 2 + α L 2 2 N tr ∑ ℓ = 1 5 W ( ℓ ) F 2 ,
where α L 2 ≥ 0 denotes the L2-regularization parameter and ∥ · ∥ F denotes the Frobenius norm. The L2-regularization strength used in all model-fitting iterations was fixed at α L 2 = 0.0001 .
The optimal model parameters were determined by solving θ * = arg min θ J ( θ ) using the limited-memory Broyden–Fletcher–Goldfarb–Shanno (L-BFGS) algorithm [45]. L-BFGS is a quasi-Newton optimization method that constructs a limited-memory approximation of the inverse Hessian matrix using information from recent parameter and gradient updates. Consequently, it avoids the explicit construction and storage of the complete Hessian matrix.
The L-BFGS solver was selected because model development was performed using a moderate-sized development subset ( n = 252 ) containing five input variables, making deterministic full-batch quasi-Newton optimization computationally feasible. Unlike stochastic mini-batch solvers, L-BFGS calculates each parameter update using the complete fitting partition and therefore avoids variability arising from mini-batch sampling. The MLP was fitted using max_iter=2000 and random_state=42, consistent with the implementation used for the independent model comparison.
This numerical rationale should not be interpreted as evidence that L-BFGS regularizes the network or prevents overfitting. The selected 100–50–25–12 architecture contains 7250 trainable weights and biases, exceeding the total number of experimental observations. Consequently, neither the architecture nor the optimizer alone establishes model adequacy. The susceptibility of the model to overfitting was therefore assessed empirically using L 2 regularization, training-only standardization, five-fold cross-validation, contact-time-based LOGO-CV, and a strictly held-out internal test subset, as described in Section 2.6.
To reduce the risk of data leakage, the input- and response-standardization parameters were estimated separately within each training partition. The fitted transformations were subsequently applied to the corresponding validation or test observations without re-estimation.
The model was fitted using the standardized response variable. Cross-validation and test-set MSE values were therefore calculated on the standardized response scale, whereas predictions were transformed back to the original mg L − 1 scale for graphical presentation and concentration-based interpretation.
All preprocessing, model construction, optimization, and prediction procedures were implemented in Python 3.13 using the scikit-learn library [46]. The pandas and NumPy libraries were used for data organization, numerical calculations, and matrix operations.

2.6. Model Validation and Performance Metrics

To evaluate the predictive reliability and generalization performance of the developed MLP model, a multistage validation strategy was employed. The complete experimental dataset, D , was initially divided into mutually exclusive training and test subsets according to
D = D tr ∪ ˙ D te , D tr D = 0.80 , D te D = 0.20 ,
where D tr and D te denote the training and strictly held-out internal test subsets, respectively. The fixed partition was generated using random_state=42, resulting in 252 training observations and 63 test observations. The test subset was separated before feature and response standardization and model fitting. It was not used to determine model configurations, select hyperparameters, or modify the modeling procedure.
For contextual algorithmic benchmarking, the prespecified MLP was compared with Random Forest regression, standard Gradient Boosting regression, and Support Vector Regression (SVR). All four models were trained using the same D tr subset and evaluated using the same D te observations. The MLP configuration was fixed as described in Section 2.5. The alternative models retained their scikit-learn default hyperparameters, except for random_state=42 where supported. No cross-validation-based hyperparameter optimization was conducted as part of this algorithmic comparison.
For the independent test-set comparison, the input and response standardization parameters were estimated exclusively from D tr . The fitted transformations were subsequently applied to D te without re-estimation. Each candidate model was then fitted using the complete standardized training subset and evaluated once on the standardized test response without further configuration changes or tuning. Thus, no information from D te entered model fitting or model-configuration decisions. The complete model configurations and independent test-set results are reported in Supplementary Table S1.
The five-fold cross-validation and contact-time-based LOGO-CV procedures were conducted separately to evaluate the stability and time-group transferability of the prespecified MLP. These MLP-specific validation procedures were distinct from the single-split algorithmic comparison reported in Supplementary Table S1.
For the MLP-specific validation analysis, all preprocessing and model-fitting operations were performed within the corresponding cross-validation iteration. The input and response scaling parameters were estimated exclusively from the fitting observations in each iteration and were subsequently applied to the associated validation observations without re-estimation. This procedure reduced the risk of preprocessing-related information leakage between the fitting and validation subsets [46,47].
A five-fold cross-validation procedure was first applied to D tr to assess the stability of the prespecified MLP under different data partitions [48]. The training observations were divided into five mutually exclusive folds of approximately equal size. In each cross-validation iteration, four folds were used to fit the complete preprocessing and MLP pipeline, whereas the remaining fold was used exclusively for validation. This process was repeated until each fold had served once as the validation subset.
Since observations obtained under the same contact-time condition may share a common experimental structure, a contact-time-based leave-one-group-out cross-validation (LOGO-CV) procedure was also performed. Let G = g 1 , g 2 , … , g G . Denote the set of G distinct contact-time groups in the training dataset. For a given group g ∈ G , the corresponding training and validation subsets were defined as
D val ( g ) = x i , y i ∈ D tr : t i = g , D fit ( g ) = D tr ∖ D val ( g ) .
In each LOGO-CV iteration, all observations associated with one contact time were excluded from model fitting and used together as the validation group. The procedure was repeated G times so that each contact-time group was used exactly once for validation. This group-aware validation strategy was employed to assess the ability of the model to predict observations belonging to contact-time conditions that were not included in the corresponding training iteration [49]. Thus, LOGO-CV provided a more restrictive evaluation of time-group transferability than conventional randomly partitioned cross-validation. However, holding out an observed contact-time group does not necessarily constitute extrapolation beyond the overall experimental time range.
The predictive performance of the model was quantified using the mean squared error (MSE) and the coefficient of determination ( R 2 ). For an evaluation subset containing n e observations, MSE was calculated as
MSE = 1 n e ∑ i = 1 n e y i − y ^ i 2 ,
where y i = C t , i is the experimentally measured residual MG concentration and y ^ i = C ^ t , i is the corresponding value predicted by the MLP model. Lower MSE values indicate smaller average squared prediction errors. Because MSE is scale-dependent, its numerical value and unit depend on the scale used for the response variable during evaluation.
The coefficient of determination was calculated as
R 2 = 1 − ∑ i = 1 n e y i − y ^ i 2 ∑ i = 1 n e y i − y ¯ e 2 ,
where
y ¯ e = 1 n e ∑ i = 1 n e y i
is the mean of the experimentally measured response values within the corresponding evaluation subset. An  R 2 value approaching unity indicates strong agreement between the experimental and predicted values. A value of zero indicates performance equivalent to predicting the evaluation-set mean, whereas a negative value indicates performance inferior to that reference prediction.
For a cross-validation procedure containing K folds, the mean value of a performance metric s k , where s k represents either the fold-specific MSE or R 2 , was calculated as
s ¯ CV = 1 K ∑ k = 1 K s k .
The variability of the fold-specific scores was summarized using the sample standard deviation:
s CV = 1 K − 1 ∑ k = 1 K s k − s ¯ CV 2 .
For five-fold cross-validation, K = 5 . For LOGO-CV, K = G , where G is the number of distinct contact-time groups. Accordingly, both the mean and standard deviation of the fold-specific performance values can be reported for LOGO-CV. If the LOGO-CV predictions from all held-out groups are combined and evaluated collectively, the resulting quantities should be identified explicitly as pooled out-of-fold MSE and pooled out-of-fold R 2 , rather than as mean cross-validation scores.
Predictive uncertainty was quantified using five-fold cross-validation-plus (CV+) [50]. This method constructs prediction intervals from out-of-fold residuals without requiring a parametric distributional assumption, such as normality, for the prediction errors. The analysis was conducted exclusively within the development subset D tr , using the same five-fold partitioning strategy described above. The responses in the strictly held-out internal test subset D te were not used for interval construction or calibration.
For each fold S k , the input and response scalers were estimated using only the observations in D tr ∖ S k . The MLP was then fitted on this fitting partition and used to predict both the observations in the excluded fold and the covariates in D te . For each observation i ∈ S k , the out-of-fold absolute residual, calculated after transforming the prediction back to the original concentration scale mg L − 1 , was defined as r i CV = y i − m ^ − S k ( x i ) , where m ^ − S k denotes the complete preprocessing and MLP pipeline fitted without fold S k .
For each test covariate vector x j , the lower and upper CV+ candidates associated with calibration observation i were defined as L i j = m ^ − S k ( i ) ( x j ) − r i CV , U i j = m ^ − S k ( i ) ( x j ) + r i CV , where k ( i ) identifies the fold containing observation i. The prediction-interval miscoverage level was denoted by α PI and fixed at α PI = 0.05 , corresponding to a nominal coverage of 1 − α PI = 0.95 .
Let n cal = | D tr | = 252 denote the number of calibration residuals. The finite-sample lower and upper order-statistic ranks were calculated as
r low = max 1 , α PI n cal + 1 , r up = min n cal , 1 − α PI n cal + 1 .
The nominal 95 % CV+ prediction interval for x j was subsequently constructed as
C ^ 1 − α PI CV + ( x j ) = L ( r low ) , j , U ( r up ) , j ,
where L ( r low ) , j and U ( r up ) , j denote the indicated order statistics of the lower and upper candidate sets, respectively.
After interval construction, the test responses were used only to evaluate empirical coverage according to
Coverage = 1 n te ∑ j = 1 n te I L j ≤ y j ≤ U j .
Interval efficiency was summarized using the mean, median, minimum, and maximum values of the interval width U j − L j . This procedure provided an internal assessment of predictive uncertainty and was not interpreted as evidence of external validity or reliable extrapolation beyond the investigated experimental domain.
After the validation procedures and model configuration were finalized, the MLP pipeline was refitted using the complete training subset D tr . Its final predictive performance was then evaluated once on the previously untouched test subset D te using Equations (22) and (23). All data partitioning, cross-validation, preprocessing, model fitting, and metric calculations were implemented in Python 3.13 using scikit-learn [46].

2.7. Explainable Artificial Intelligence (XAI) Analysis

Post hoc explainable artificial intelligence (XAI) methods were applied to improve the interpretability of the fitted MLP model and to quantify how the operational variables contributed to its predictions [35]. Permutation Feature Importance (PFI) was used to evaluate global model reliance on each input variable [51], whereas SHapley Additive exPlanations (SHAP) were used to characterize the local magnitude and direction of the feature contributions [52].
Let m ^ : R 5 → R denote the fitted MLP predictor and let D te = x i , y i i = 1 n te denote the independent test subset, where y i = C t , i is the experimentally measured residual MG concentration. Both XAI analyses were performed after model fitting, without re-estimating the MLP parameters.
Permutation Feature Importance was calculated on the independent test subset using the mean squared error as the evaluation criterion [46,51]. The baseline prediction error of the fitted model was defined as
E orig = 1 n te ∑ i = 1 n te y i − m ^ x i 2 .
For the b-th permutation of feature j, the values of that feature were randomly rearranged across the test observations while all other features were kept unchanged. The resulting permuted input vector and prediction error were defined as
x i ( j , b ) = x i 1 , … , x π b ( i ) , j , … , x i M T , E perm , b ( j ) = 1 n te ∑ i = 1 n te y i − m ^ x i ( j , b ) 2 , j = 1 , … , M ,
where M = 5 , π b denotes the random permutation used in repetition b, and B denotes the total number of repeated permutations.
The PFI value of feature j was calculated as the mean increase in prediction error over the B repeated permutations:
F I ¯ j = 1 B ∑ b = 1 B E perm , b ( j ) − E orig .
The variability of the permutation importance estimate was summarized using
s F I , j = 1 B − 1 ∑ b = 1 B E perm , b ( j ) − E orig − F I ¯ j 2 .
A large positive value of F I ¯ j indicates that permuting feature j substantially increases the test-set prediction error and, therefore, that the fitted MLP model relies strongly on that feature. Values close to zero indicate limited model reliance, whereas negative values may occur because of sampling variation, redundant information, or interactions among correlated predictors. Accordingly, PFI values were interpreted as model-specific predictive importance rather than as direct causal effects.
To obtain the relative PFI percentages reported in the results, the mean positive permutation importances were normalized as
R I j PFI = 100 max F I ¯ j , 0 ∑ k = 1 M max F I ¯ k , 0 .
SHAP analysis was subsequently applied to quantify the contribution of each feature to individual MLP predictions. SHAP represents the prediction for an observation x as an additive decomposition:
m ^ ( x ) = ϕ 0 + ∑ j = 1 M ϕ j ( x ) ,
where ϕ 0 is the expected model output with respect to the background distribution and ϕ j ( x ) is the SHAP value assigned to feature j for observation x [52].
Let F = { 1 , … , M } denote the complete feature set. The SHAP value of feature j was defined as
ϕ j ( x ) = ∑ S ⊆ F ∖ { j } | S | ! M − | S | − 1 ! M ! v x S ∪ { j } − v x ( S ) ,
where S is a subset of features not containing j, and  v x ( S ) denotes the expected model prediction when the features in S are fixed at their observed values in x , while the residual features are treated according to the background distribution used by the SHAP explainer.
The sign of ϕ j ( x ) indicates the direction of the feature contribution relative to the baseline prediction ϕ 0 . A positive SHAP value increases the predicted residual MG concentration relative to the baseline, whereas a negative SHAP value decreases it. These directional contributions describe the behavior of the fitted model and were not interpreted as causal effects of intervening on the corresponding process variables.
Global SHAP importance was calculated by averaging the absolute local SHAP values over the explained test observations:
I j SHAP = 1 n te ∑ i = 1 n te ϕ j x i .
The relative SHAP contribution of feature j was then calculated as
R I j SHAP = 100 I j SHAP ∑ k = 1 M I k SHAP .
PFI was implemented using the permutation_importance function in scikit-learn, while SHAP values were computed using the Python 3.13 SHAP library [46,52]. The same fitted MLP pipeline and response scale were used for all XAI analyses to ensure consistency between the prediction errors and feature-importance results.

3. Results and Discussion

3.1. Textural Properties and Adsorption Performance of the SBA-15–Zn–Fe Composite

The available nitrogen adsorption results showed that SBA-15 had a BET specific surface area of 734.79 m 2 g − 1 , a total pore volume of 0.637 cm 3 g − 1 , and a BJH average pore diameter of 3.93 nm . For the SBA-15–Zn–Fe composite, the corresponding values were 102.12 m 2 g − 1 , 0.0925 cm 3 g − 1 , and 4.61 nm , respectively. Thus, the modification procedure was accompanied by marked reductions in BET specific surface area and total pore volume and an increase in the BJH average pore diameter. Similar changes in textural properties have been reported following metal deposition on SBA-15-based materials [53]. These differences are consistent with substantial modification of the porous texture; however, the nitrogen adsorption results alone do not establish whether the Zn- and Fe-containing species were located inside the pores, deposited on the external surface, or associated with structural alteration. They also do not independently quantify the Zn and Fe contents or conclusively verify retention of the ordered hexagonal SBA-15 structure.
Figure 1 shows the effects of contact time and initial MG concentration on the adsorption capacity of the SBA-15–Zn–Fe composite.
Figure 1. Effect of contact time and initial MG concentration on the adsorption capacity, q t , of the SBA-15–Zn–Fe composite ( pH = 9.0 , X 0 = 1.0 g L−1, and T = 45 °C). Symbols represent the experimental observations, whereas the curves are included as guides to the eye.
The adsorption profiles exhibited two distinct stages at all investigated initial MG concentrations. Rapid uptake occurred during the first 15 min, followed by a slower progressive stage. Only small changes in adsorption capacity were observed between 60 and 90 min; therefore, 90 min was used as the equilibrium contact time. The initial rapid stage can be associated with the availability of readily accessible adsorption sites and a relatively large concentration gradient between the aqueous and solid phases. The subsequent decrease in the adsorption rate is consistent with the progressive occupation of the available sites and increasing resistance to further mass transfer.
Within the investigated concentration range, the equilibrium adsorption capacity increased substantially as the initial MG concentration increased from 100 to 500 mg L−1. At an initial MG concentration of 500 mg L−1, an adsorbent concentration of 1.0 g L−1, pH 9.0, and 45 °C, a removal efficiency of 99.65% was obtained after 90 min, while the experimental adsorption capacity approached 500 mg g−1. The increase in adsorption capacity with increasing initial concentration can be attributed to the greater concentration gradient and the larger amount of MG available relative to the adsorbent mass.
The equilibrium data yielded an estimated Langmuir maximum monolayer adsorption capacity, Q max , of 1428.57 mg g−1 at 45 °C. This model-derived quantity should be distinguished from the experimentally observed equilibrium adsorption capacities within the investigated concentration range.
The performance of the SBA-15–Zn–Fe composite was compared with that of ten MG adsorbents reported in the literature, as summarized in Table 1. Its estimated Q max was numerically higher than the reported capacities of eight of the ten comparison materials but lower than those reported for the Fe–silica aerogel composite and carbon dots/silica nanoaggregates. In addition to its relatively high estimated capacity, the SBA-15–Zn–Fe composite achieved 99.65% removal at a comparatively high initial MG concentration of 500 mg L−1 and reached equilibrium within 90 min.
Table 1. Reported operating conditions and adsorption performance of silica-based and other adsorbents used for MG removal.
Nevertheless, direct ranking based only on reported adsorption capacities should be interpreted cautiously because the studies differed in initial concentration, adsorbent dosage, pH, temperature, equilibrium time, material properties, and isotherm-fitting procedures [63]. In particular, model-derived maximum capacities are not necessarily equivalent to experimentally observed uptake values. Subject to these limitations, the results indicate that the SBA-15–Zn–Fe composite is a competitive adsorbent for MG removal within the investigated experimental domain. Further evaluation of regeneration, long-term stability, and performance in real wastewater matrices would be required to establish its practical applicability.

3.2. Statistical Analysis

Pearson correlation analysis was used to examine the pairwise linear associations between the five operational variables ( X 0 , T, C 0 , pH, and t) and the residual MG concentration ( C t ). The resulting correlation matrix is presented in Figure 2. The correlation coefficients were interpreted as descriptive measures of linear association and not as evidence of causal relationships.
Figure 2. Correlation matrix of the MG adsorption dataset.
The strongest positive pairwise association with C t was observed for the initial MG concentration ( C 0 , r = 0.45 ), whereas contact time exhibited the strongest negative association (t, r = − 0.42 ). These results indicate that higher initial MG concentrations were generally associated with higher residual concentrations, while longer contact times were associated with lower residual concentrations. Adsorbent concentration showed only a weak negative association with C t ( X 0 , r = − 0.08 ), whereas temperature (T, r = 0.14 ) and initial solution pH ( r = 0.16 ) showed weak positive pairwise associations. Because these coefficients represent unadjusted bivariate relationships, they do not account for covariation among the operational variables and should not be interpreted as direct or causal effects.
Table 2 summarizes the mean, standard deviation, minimum, and maximum values of the five input variables ( X 0 , T, C 0 , pH, and t) and the response variable ( C t ) for the 315 experimental observations. The observed ranges are consistent with the experimental conditions described in Section 2.3 and characterize the domain used for model development. These descriptive statistics do not establish the representativeness of the dataset beyond the investigated experimental domain.
Table 2. Descriptive statistics of independent and dependent variables in the adsorption dataset.
A multiple linear regression (MLR) model was fitted using ordinary least squares to evaluate the adjusted linear associations between the five input variables and C t . The estimated regression coefficients and their corresponding statistical results are presented in Table 3. The model yielded an R 2 value of 0.389, indicating that the additive linear specification explained 38.9% of the observed variation in C t . Thus, a substantial proportion of the response variability remained unexplained by the linear model.
Table 3. Statistical parameters and coefficients of the MLR model ( R 2 = 0.389 ).
Initial MG concentration and contact time had the largest absolute t-statistics in the fitted MLR model. Initial MG concentration was positively associated with C t ( β = 0.2921 , t = 9.560 , p < 0.001 ), whereas contact time was negatively associated with C t ( β = − 0.3849 , t = − 9.607 , p < 0.001 ). Temperature also exhibited a statistically significant but smaller adjusted association ( β = − 1.3373 , t = − 2.272 , p = 0.024 ). In contrast, the coefficients of adsorbent concentration ( p = 0.692 ) and initial solution pH ( p = 0.973 ) were not statistically significant within the fitted linear model.
The negative adjusted temperature coefficient differs in sign from the weak positive pairwise correlation reported above. This difference arises because the MLR coefficient represents the association between temperature and C t after adjustment for the remaining predictors, whereas the Pearson coefficient represents an unadjusted bivariate association. Accordingly, neither result should be interpreted as an independent causal effect of temperature. Together with the limited R 2 of the MLR model, these findings indicate that an additive linear specification does not fully represent the relationships contained in the experimental dataset, motivating the subsequent evaluation of a nonlinear predictive model.
The overall MLR model was statistically significant, F ( 5 , 309 ) = 39.390 and p = 2.956 × 10 − 31 , indicating that the five predictors jointly provided greater explanatory ability than an intercept-only model. The term-wise partial F-tests are presented in Table 4. Because each predictor had one degree of freedom, these partial F-statistics are equivalent to the squared t-statistics reported in Table 3 and therefore provide the same variable-level significance conclusions.
Table 4. Term-wise partial F-tests for the multiple linear regression model of residual MG concentration, C t .
Taken together, the correlation and MLR results identified initial MG concentration and contact time as the variables with the strongest linear associations with C t . However, the MLR model explained only 38.9% of the observed response variability, indicating that the additive linear specification was insufficient to represent the full structure of the experimental dataset. This result motivates the evaluation of a nonlinear predictive model but does not, by itself, establish the superiority of any particular machine-learning algorithm. The statistical associations identified in this section are subsequently compared with the model-specific PFI and SHAP results.

3.3. Evaluation of the Multilayer Perceptron Model

The prespecified MLP contained five input nodes, four hidden layers with 100, 50, 25, and 12 neurons, and a single regression output node, as illustrated in Figure 3. The first hidden layer expanded the five standardized input variables ( X 0 , T, C 0 , pH, and t) into a 100-dimensional nonlinear representation, after which the layer widths were progressively reduced to 50, 25, and 12 neurons. The topology is therefore described as an expansion–tapering architecture rather than as a conventional bottleneck or information funnel. The hyperbolic tangent activation function was used in all hidden layers [64], and the model parameters were estimated using the full-batch L-BFGS algorithm [45], as detailed in Section 2.5.
Figure 3. Architecture of the prespecified MLP model, comprising five standardized input variables, four tanh-activated hidden layers with 100, 50, 25, and 12 neurons, and a single continuous output node. Model parameters were estimated using the L-BFGS algorithm.
Model evaluation followed the protocol described in Section 2.6. The dataset was divided into a development subset ( n = 252 , 80%) and a strictly held-out internal test subset ( n = 63 , 20%). All scaling parameters were estimated exclusively from the corresponding fitting partition and then applied to the validation or test observations without re-estimation, reducing preprocessing-related information leakage [47].
Five-fold cross-validation was used to assess performance variability within the development subset, whereas contact-time-based LOGO-CV evaluated transferability to time groups excluded from model fitting [65]. LOGO-CV was summarized using both group-wise and pooled out-of-fold metrics. Because all excluded contact times remained within the investigated range, LOGO-CV was not interpreted as validation of extrapolation beyond the experimental domain. The held-out test and cross-validation results are reported in Table 5. MSE values were calculated on the standardized response scale, while predictions used for graphical presentation were transformed back to mg L − 1 .
Table 5. Cross-validation and independent test-set performance of the prespecified MLP model. MSE values were calculated on the standardized response scale.
As shown in Table 5, five-fold cross-validation of the prespecified MLP yielded a mean R 2 of 0.8420 with a fold-wise standard deviation of 0.1273 and a mean standardized-scale MSE of 0.2192. The observed variability across the five folds indicates that predictive performance depended to some extent on the composition of the corresponding fitting and validation partitions.
The contact-time-based LOGO-CV procedure produced a group-wise mean R 2 of 0.7038 with a standard deviation of 0.2430 and a mean standardized-scale MSE of 0.4030. Because some held-out contact-time groups contained relatively few observations or limited within-group response variability, their individual R 2 values were unstable. The pooled out-of-fold LOGO-CV result was therefore also calculated, yielding an R 2 of 0.7411 and a standardized-scale MSE of 0.2589. The pooled result is used as the primary summary of the model’s time-group transferability, whereas the group-wise statistics describe the variability among the individual held-out time groups.
Both LOGO-CV summaries were lower than the five-fold cross-validation result, indicating that prediction was more difficult when an entire contact-time group was excluded from model fitting. However, all held-out contact-time values remained within the experimentally investigated range of 0–360 min. Consequently, LOGO-CV should be interpreted as a structured assessment of time-group transferability within the investigated domain rather than as evidence of reliable extrapolation beyond that domain.
The final MLP, fitted using the complete training subset, achieved an R 2 of 0.9624 and a standardized-scale MSE of 0.0449 on the strictly held-out internal test subset. This test result demonstrates strong predictive performance for the particular fixed partition. Nevertheless, its higher performance relative to the mean five-fold cross-validation result should not be interpreted as evidence of uniform performance across all possible data partitions. Accordingly, the cross-validation, LOGO-CV, and independent test results provide complementary rather than interchangeable assessments of predictive performance.
Figure 4 provides an observation-level comparison between the experimentally measured and MLP-predicted C t values. Most training observations were located close to the y = x reference line, whereas the held-out test observations showed several larger deviations, particularly within the intermediate and higher response ranges. The training–test difference indicates that prediction accuracy was not uniform across the complete response range. Accordingly, Figure 4 should be interpreted as a graphical assessment of the fixed training–test partition that complements, but does not replace, the cross-validation and LOGO-CV results summarized in Table 5.
Figure 4. Scatter plot of the experimentally measured and MLP-predicted C t values for the training ( n = 252 ) and strictly held-out internal test ( n = 63 ) subsets. Predictions were transformed back to the original concentration scale ( mg L − 1 ) before graphical presentation.
For contextual algorithmic benchmarking, Random Forest regression, standard Gradient Boosting regression, and Support Vector Regression were evaluated using the same fixed training–test partition. As reported in Supplementary Table S1, Random Forest and Gradient Boosting produced higher test-set R 2 values of 0.9872 and 0.9804, respectively, whereas SVR yielded a substantially lower value of 0.6171. Thus, the MLP was competitive but was not the numerically best-performing model on this partition. The complete model configurations and standardized-scale MSE results are provided in Supplementary Table S1. Because the alternative models were evaluated using the stated configurations without cross-validation-based hyperparameter optimization and the comparison relied on a single test partition, these findings provide a contextual benchmark rather than a definitive ranking of the algorithms. The MLP was retained as the prespecified focal model for evaluating the combined use of group-aware validation, PFI, and SHAP, without implying universal superiority over the alternative models.
The dataset comprised 315 observations, whereas the four-hidden-layer MLP contained 7250 trainable weights and biases; consequently, the risk of overfitting cannot be excluded solely on the basis of the fixed test-set result. Five-fold cross-validation yielded a mean R 2 of 0.8420 with a fold-wise standard deviation of 0.1273, indicating sensitivity to the composition of the fitting and validation partitions. Under contact-time-based LOGO-CV, the pooled out-of-fold R 2 decreased to 0.7411, demonstrating reduced transferability when entire contact-time groups were excluded from model fitting. Because all held-out contact-time values remained within the experimentally investigated range, LOGO-CV represents a structured assessment of time-group transferability rather than validation of extrapolation beyond that range. These results do not establish the absence of overfitting or broad external generalizability. Independent validation using newly generated experimental data is therefore required before applying the model to external adsorption systems or operational conditions outside the investigated domain.
The five-fold CV+ analysis produced nominal 95 % prediction intervals that contained 62 of the 63 responses in the strictly held-out internal test subset, corresponding to an empirical coverage of 98.41 % . On the original concentration scale, the mean and median interval widths were 119.48 and 108.04 mg L − 1 , respectively, while the widths ranged from 103.79 to 264.61 mg L − 1 . Although the observed coverage exceeded the nominal level for this particular test subset, the relatively broad and variable interval widths indicate that predictive uncertainty was not negligible or uniform across the investigated response range. Because the CV+ bounds were constructed without imposing a non-negativity constraint, some lower limits extended below zero; these values represent unconstrained statistical bounds and should not be interpreted as physically possible concentrations. The observation-level prediction intervals are presented in Supplementary Figure S1. These results provide an internal assessment of predictive uncertainty and do not establish coverage validity for external adsorption systems or conditions outside the investigated experimental domain.

3.4. Explainable Artificial Intelligence Analysis: PFI and SHAP Results

Despite the high prediction ability of ANN-based models, one of their main limitations is their “black-box” nature, which makes interpreting the nonlinear relationships between input parameters and outputs difficult. In this study, PFI and SHAP algorithms were used together to improve the interpretability of the developed MLP architecture and to evaluate the relationship between model predictions, adsorption behavior, and statistical findings. In the first stage, PFI analysis was applied to assess the global significance of each independent variable by measuring the increase in the MSE after randomly shuffling of the relevant input parameter in the test dataset [51]. The PFI results are presented in Figure 5.
Figure 5. Permutation feature importance values of adsorption parameters.
As shown in Figure 5, contact time (t, 48.91%) and initial MG concentration ( C 0 , 42.67%) were identified as the two variables with the largest effects on the predictive performance of the fitted MLP. Their combined normalized PFI contribution of 91.58% indicates that the model relied predominantly on time- and concentration-dependent information when predicting residual MG concentration.
This result is consistent with the experimentally observed adsorption profiles, which exhibited rapid initial uptake followed by a slower approach to equilibrium. The importance of contact time may therefore reflect the progressive occupation of accessible adsorption sites and the increasing resistance to further mass transfer as adsorption proceeds. External mass transfer and transport within the porous adsorbent structure may both contribute to this time dependence. However, PFI does not distinguish between these transport processes or identify a unique rate-controlling step; such a conclusion would require dedicated diffusion-model diagnostics.
The importance of initial MG concentration is consistent with the concentration gradient between the liquid phase and the adsorbent surface, which provides a driving force for the mass transfer of dye molecules toward the adsorbent structure [66,67,68]. Higher initial concentrations also increase the amount of MG available relative to the adsorbent mass and may promote progressive occupation of the available adsorption sites. Thus, the PFI results agree with the observed kinetic and concentration-dependent behavior, but should not be interpreted as direct causal evidence for a specific adsorption mechanism.
The SHAP summary plot to evaluate the directional effects of features and their marginal contributions to individual predictions based on a game theory approach is presented in Figure 6. In the SHAP summary plot, the color scale represents the magnitude of the corresponding feature value (red: high value, blue: low value), while the horizontal axis (SHAP value) denotes the contribution of each parameter to the model output, corresponding to the residual dye concentration ( C t ) in the liquid phase [69]. As shown in Figure 6, SHAP analysis demonstrated a feature importance trend ( t > C 0 > T > pH > X 0 ) that is consistent with the hierarchy obtained from PFI analysis and also provided information about the directional effects of each parameter.
Figure 6. SHAP summary plot and parameter effects calculated for the MLP model.
For t, the distribution of high feature values (red points) on the negative side of the SHAP axis indicates that increasing adsorption time contributes to a decrease in the predicted C t values. This behavior is consistent with the time-dependent decrease in residual dye concentration during the adsorption process. In contrast, observations with high initial MG concentrations ( C 0 , red points) are mostly located in the positive SHAP region and this suggests that increasing the initial dye concentration leads to higher residual dye concentrations due to the increased amount of dye entering the system and approaching adsorbent saturation.
The most notable difference between the PFI and SHAP results was observed for temperature (T). Temperature accounted for 4.20% of the normalized PFI contribution, whereas its relative mean absolute SHAP contribution was 12.02%. Because PFI and SHAP quantify different aspects of model behavior, these percentages should not be interpreted as directly equivalent measures of physical influence.
In the SHAP summary plot, higher temperature values were predominantly associated with negative SHAP values, indicating that the fitted MLP generally associated increasing temperature with lower predicted residual MG concentrations within the investigated range of 25–45 °C. This model-derived trend is physicochemically consistent with reduced solution viscosity, increased molecular mobility, and facilitated transport of MG molecules toward and within the porous adsorbent structure [70,71,72,73,74,75].
Nevertheless, SHAP values represent directional contributions to model predictions rather than causal or thermodynamic evidence. Therefore, the observed temperature dependence does not independently establish an endothermic adsorption mechanism or demonstrate an increase in the affinity of the Zn/Fe-modified surface sites for MG. Such conclusions would require supporting thermodynamic parameters, particularly Δ H ∘ , together with independent equilibrium and surface characterization. The present results support a temperature-facilitated adsorption trend within the investigated experimental domain but do not identify a unique thermodynamic mechanism. In contrast, pH and adsorbent concentration ( X 0 ) remained at lower importance levels in both analyses, indicating that the fitted model relied less strongly on these variables within the examined experimental ranges.
The proposed XAI-assisted MLP and conventional adsorption modeling approaches serve related but distinct purposes. Adsorption isotherm and kinetic models provide parsimonious mathematical descriptions and fitted quantities, such as model-dependent maximum capacities and apparent rate constants, that can support physicochemical interpretation under the assumptions of the selected model [76,77]. However, the validity of these interpretations depends on the adequacy of the prescribed model structure, and goodness of fit alone does not establish a unique adsorption mechanism. Response surface methodology can represent main effects, quadratic terms, and pairwise interactions and can support optimization within a designed experimental region [78]. Nevertheless, a conventional second-order response surface remains a local polynomial approximation whose adequacy depends on the experimental design and investigated factor space.
In contrast, the MLP provides a flexible multivariable mapping from X 0 , T, C 0 , pH, and t to C t without imposing a predefined equilibrium, kinetic, or quadratic response equation. This flexibility is accompanied by greater dependence on the amount and representativeness of the training data, reduced parameter-level interpretability, and limited extrapolation beyond the sampled domain. PFI and SHAP partially improve model transparency by describing global model reliance and local feature contributions, respectively; however, they do not yield equilibrium, kinetic, or thermodynamic constants and should not be interpreted as direct evidence of causality or adsorption mechanism. The conventional and data-driven approaches should therefore be regarded as complementary rather than interchangeable. From an engineering perspective, the developed MLP should be interpreted as a surrogate modeling component rather than as a standalone optimization or process-control system. Within the experimentally investigated domain, the model can rapidly screen candidate combinations of initial MG concentration, adsorbent concentration, pH, temperature, and contact time by estimating the corresponding residual MG concentration. In a future decision-support framework, the fitted model could be coupled with a constrained optimization algorithm to identify operating conditions that satisfy a specified effluent-concentration limit while accounting for objectives such as adsorbent consumption, treatment time, and temperature-related energy demand. Following appropriate external validation, the upper CV+ prediction limit could also be used as a conservative compliance criterion instead of relying solely on the point prediction. However, the present study did not implement a formal optimization problem, define an industrial cost function, or validate process-control performance. The proposed implementation should therefore be regarded as a prospective workflow rather than a demonstrated industrial application.
Although the developed MLP model showed strong predictive performance for MG adsorption onto the SBA-15–Zn–Fe composite on the fixed internal test partition, its applicability should be interpreted strictly within the experimental limits of the present study. The model was trained using observations generated within the investigated ranges of contact time (0–360 min), initial MG concentration (100–500 mg L−1), adsorbent concentration (0.5–3.0 g L−1), pH (5–9), and temperature (25–45 °C). The pooled out-of-fold LOGO-CV performance ( R 2 = 0.7411 ) was lower than the mean five-fold cross-validation performance ( R 2 = 0.8420 ). Moreover, the group-wise LOGO-CV results showed substantial variability ( R 2 = 0.7038 ± 0.2430 ) across the 15 held-out contact-time groups. These findings indicate reduced transferability when entire contact-time groups are excluded from model fitting. However, because all held-out contact-time values remained within the experimentally observed range, LOGO-CV does not establish the model’s ability to extrapolate beyond the investigated experimental domain.
Accordingly, predictions outside the specified operational ranges have not been validated and should not be relied upon without additional experimental evidence, model retraining, and independent external validation. Furthermore, the purely data-driven MLP does not impose mechanistic constraints that would guarantee physically consistent predictions outside its training domain. Because the dataset was obtained from batch adsorption experiments conducted under controlled laboratory conditions using synthetic aqueous solutions, the model may not fully represent the behavior of the adsorption system in real wastewater matrices, continuous-flow configurations, newly synthesized composite batches, or other experimental settings. Future research should therefore evaluate the model using independently generated datasets that extend the investigated operational ranges and include real industrial effluents and pilot-scale or continuous-flow adsorption systems. Application to different adsorbents, dye types, or wastewater matrices would also require model retraining and independent validation.
A further limitation is that the available physicochemical characterization was restricted to nitrogen adsorption-derived textural parameters. Low-angle X-ray diffraction or transmission electron microscopy data were not available to independently confirm retention of the ordered SBA-15 mesostructure, and elemental analyses such as ICP-OES, XRF, or SEM-EDS were not available to quantify the actual Zn and Fe contents. Consequently, the SBA-15–Zn–Fe designation reflects the stated synthesis and modification procedure, whereas the intended metal composition and the location of the metal-containing species were not independently verified in the present study.

4. Conclusions

This study evaluated MG adsorption by the material prepared through the stated SBA-15–Zn–Fe synthesis procedure and developed an XAI-assisted MLP framework for predicting residual MG concentration. Under the investigated conditions, a removal efficiency of 99.65% was obtained at an initial MG concentration of 500 mg L−1, an adsorbent concentration of 1.0 g L−1, pH 9.0, 45 °C, and a contact time of 90 min. The Langmuir-estimated maximum monolayer capacity was 1428.57 mg g−1; this model-derived value should not be interpreted as an experimentally observed uptake at 500 mg L−1.
The prespecified MLP achieved an R 2 of 0.9624 on the strictly held-out internal test subset. However, its lower pooled LOGO-CV performance ( R 2 = 0.7411 ) showed that prediction became more difficult when entire contact-time groups were excluded from model fitting. The CV+ uncertainty analysis provided 98.41% empirical coverage for nominal 95% prediction intervals, but the relatively large and variable interval widths indicated that predictive uncertainty was not negligible. In addition, Random Forest and Gradient Boosting achieved higher test-set accuracy than the MLP in the contextual single-partition comparison. The MLP results therefore do not establish universal predictive superiority over the alternative algorithms.
PFI and SHAP consistently identified contact time and initial MG concentration as the variables on which the fitted MLP relied most strongly. SHAP indicated that longer contact times were generally associated with lower predicted residual MG concentrations, whereas higher initial concentrations were associated with higher predicted residual concentrations. Temperature had a secondary contribution. These model-specific associations were consistent with the observed adsorption trends but should not be interpreted as independent causal, kinetic, or thermodynamic evidence.
The proposed framework should be used only for interpolation within the investigated ranges of contact time (0–360 min), initial MG concentration (100–500 mg L−1), adsorbent concentration (0.5–3.0 g L−1), pH (5–9), and temperature (25–45 °C). Its applicability to real wastewater, continuous-flow systems, newly synthesized material batches, and conditions outside these ranges has not been established. Moreover, the available physicochemical characterization was limited to nitrogen-adsorption-derived textural parameters and did not independently verify the ordered SBA-15 structure or quantify the Zn and Fe contents. External experimental validation and additional structural and elemental characterization are therefore required before practical process optimization or industrial implementation.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/molecules31173005/s1, MG3; Table S1: Independent internal test-set performance of the prespecified multilayer perceptron (MLP) and alternative machine-learning models using the fixed 80/20 training–test partition; Table S2: Textural parameters of SBA-15 and the SBA-15–Zn–Fe composite obtained from nitrogen adsorption analysis; Figure S1: Held-out test observations ordered by C t .

Author Contributions

Conceptualization, S.O. and M.Z.; methodology, M.E., S.O. and M.Z.; software, S.K. and M.Z.; validation, M.E., S.O., S.K. and M.Z.; formal analysis, M.E. and M.Z.; investigation, M.E. and S.O.; resources, M.E. and S.O.; data curation, M.E. and M.Z.; writing—original draft preparation, M.E., S.O. and M.Z.; writing—review and editing, M.E., S.O., S.K. and M.Z.; visualization, S.K. and M.Z.; supervision, M.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Scientific Research Projects Coordination Unit of Sivas University of Science and Technology, grant number 2023-GENL-Müh-0014.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The experimental data supporting the findings of this study are available from the corresponding author upon reasonable request. The Python 3.13 code used for data analysis, MLP modeling, model validation, and XAI analysis is publicly available at https://github.com/metinzontul/malachite-green-mlp-xai (accessed on 24 August 2026).

Acknowledgments

The authors acknowledge the financial support of Scientific Research Projects Coordination Unit of Sivas University of Science and Technology under the Grant No. 2023-GENL-Müh-0014. The authors used Gemini Pro 3.1 as a supportive tool for refining the manuscript’s language, enhancing its structural flow, and ensuring clarity throughout the writing process. Additionally, Gemini Nano Banana 2 was employed to assist in the generation of Figure 3. Following the use of these AI tools, the authors thoroughly reviewed, validated, and finalized the content to ensure scientific accuracy. The authors take full responsibility for the information and arguments presented in this work.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ANNArtificial neural network
ANFISAdaptive neuro-fuzzy inference system
L-BFGSLimited-memory Broyden–Fletcher–Goldfarb–Shanno
LOGO-CVLeave-one-group-out cross-validation
MGMalachite green
MLMachine learning
MLPMultilayer perceptron
MSEMean squared error
PFIPermutation feature importance
SHAPSHapley Additive exPlanations
XAIExplainable artificial intelligence

References

  1. Kumar, P.S.; Joshiba, G.J.; Femina, C.C.; Varshini, P.; Priyadharshini, S.; Karthick, M.A.; Jothirani, R. A critical review on recent developments in the low-cost adsorption of dyes from wastewater. Desalin. Water Treat. 2019, 172, 395–416. [Google Scholar] [CrossRef] [Scilit]
  2. Dutta, S.; Gupta, B.; Srivastava, S.K.; Gupta, A.K. Recent advances on the removal of dyes from wastewater using various adsorbents: A critical review. Mater. Adv. 2021, 2, 4497–4531. [Google Scholar] [CrossRef] [Scilit]
  3. Dutta, S.; Adhikary, S.; Bhattacharya, S.; Roy, D.; Chatterjee, S.; Chakraborty, A.; Banerjee, D.; Ganguly, A.; Nanda, S.; Rajak, P. Contamination of textile dyes in aquatic environment: Adverse impacts on aquatic ecosystem and human health, and its management using bioremediation. J. Environ. Manag. 2024, 353, 120103. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Culp, S.J.; Beland, F.A. Malachite green: A toxicological review. J. Am. Coll. Toxicol. 1996, 15, 219–238. [Google Scholar] [CrossRef] [Scilit]
  5. Swan, N.B.; Zaini, M.A.A. Adsorption of malachite green and congo red dyes from water: Recent progress and future outlook. Ecol. Chem. Eng. S 2019, 26, 119–132. [Google Scholar] [CrossRef] [Scilit]
  6. Ergüt, M.; Özer, A. Effective adsorption of malachite green with silica gel supported iron-zinc bimetallic nanoparticles. Turk. J. Eng. 2024, 8, 510–523. [Google Scholar] [CrossRef] [Scilit]
  7. Garg, V.K.; Kumar, R.; Gupta, R. Removal of malachite green dye from aqueous solution by adsorption using agro-industry waste: A case study of Prosopis cineraria. Dyes Pigment. 2004, 62, 1–10. [Google Scholar] [CrossRef] [Scilit]
  8. Rashid, R.; Shafiq, I.; Akhter, P.; Iqbal, M.J.; Hussain, M. A state-of-the-art review on wastewater treatment techniques: The effectiveness of adsorption method. Environ. Sci. Pollut. Res. 2021, 28, 9050–9066. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. Zhao, D.; Feng, J.; Huo, Q.; Melosh, N.; Fredrickson, G.H.; Chmelka, B.F.; Stucky, G.D. Triblock copolymer syntheses of mesoporous silica with periodic 50 to 300 angstrom pores. Science 1998, 279, 548–552. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Liang, B.; Zhu, P.; Gu, J.; Yuan, W.; Xiao, B.; Hu, H.; Rao, M. Advancing adsorption and separation with modified SBA-15: A comprehensive review and future perspectives. Molecules 2024, 29, 3543. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Yuan, S.; Wang, M.; Liu, J.; Guo, B. Recent advances of SBA-15-based composites as the heterogeneous catalysts in water decontamination: A mini-review. J. Environ. Manag. 2020, 254, 109787. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Ruchomski, L.; Pikus, S.; Pikula, T.; Mączka, E.; Kosmulski, M. Synthesis and properties of Fe/SBA-15. Colloids Surf. A Physicochem. Eng. Asp. 2020, 599, 124922. [Google Scholar] [CrossRef] [Scilit]
  13. Ebrahimpour, M.; Hassaninejad-Darzi, S.K.; Zavvar Mousavi, H. Adsorption of ternary toxic crystal violet, malachite green and methylene blue onto synthesised SBA-15 mesoporous nanoparticles. Int. J. Environ. Anal. Chem. 2022, 102, 2512–2535. [Google Scholar] [CrossRef] [Scilit]
  14. Chaudhuri, H.; Dash, S.; Sarkar, A. Synthesis and use of SBA-15 adsorbent for dye-loaded wastewater treatment. J. Environ. Chem. Eng. 2015, 3, 2866–2874. [Google Scholar] [CrossRef] [Scilit]
  15. Erdem, B.; İşcan, K.B. Multifunctional magnetic mesoporous nanocomposites towards multiple applications in dye and oil adsorption. J. Sol-Gel Sci. Technol. 2021, 98, 528–540. [Google Scholar] [CrossRef] [Scilit]
  16. Abdulazeez, I.; Alrajjal, A.S.; Ganiyu, S.; Baig, N.; Salhi, B.; AbdElazem, S. Facile engineering of mesoporous silica for the effective removal of anionic dyes from wastewater: Insights from DFT and experimental studies. Heliyon 2023, 9, e21356. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Hajiagha, B.L.; Abozari, S.; Badiei, A.; Zarabadi, P.P.; Dehghan, A.S.; Ganjali, M.R.; Mohammadi, Z.G. Amino ethyl-functionalized SBA-15: A promising adsorbent for anionic and cationic dyes removal. Iran. J. Chem. Chem. Eng. 2017, 36, 97–108. [Google Scholar]
  18. Chen, Z.; Zhou, L.; Zhang, F.; Yu, C.; Wei, Z. Multicarboxylic hyperbranched polyglycerol modified SBA-15 for the adsorption of cationic dyes and copper ions from aqueous media. Appl. Surf. Sci. 2012, 258, 5291–5298. [Google Scholar] [CrossRef] [Scilit]
  19. Boukoussa, B.; Mokhtar, A.; El Guerdaoui, A.; Hachemaoui, M.; Ouachtak, H.; Abdelkrim, S.; Ait Addi, A.; Babou, S.; Boudina, B.; Bengueddach, A.; et al. Adsorption behavior of cationic dye on mesoporous silica SBA-15 carried by calcium alginate beads: Experimental and molecular dynamics study. J. Mol. Liq. 2021, 333, 115976. [Google Scholar] [CrossRef] [Scilit]
  20. Mahmoudi, F.; Amini, M.M.; Sillanpää, M. Hydrothermal synthesis of novel MIL-100(Fe)@SBA-15 composite material with high adsorption efficiency towards dye pollutants for wastewater remediation. J. Taiwan Inst. Chem. Eng. 2020, 116, 303–313. [Google Scholar] [CrossRef] [Scilit]
  21. Elngar, A.A.; Ahmed, A.M.; Saad, A. Artificial intelligence models for adsorption-based wastewater treatment: A critical review toward environmental sustainability. Int. J. Environ. Sci. Technol. 2026, 23, 481. [Google Scholar] [CrossRef] [Scilit]
  22. El Mallahi, M.; Akichouh, E.; Elyoussfi, A.; Salhi, A.; Ahari, M.H.; Amhamdi, H.; Ghalit, M.; Mourabit, F. Artificial Intelligence in Adsorption Process Optimization: A 2014–2024 Bibliometric Analysis of Research Trends and Developments. Results Eng. 2025, 28, 107777. [Google Scholar] [CrossRef] [Scilit]
  23. Reynel-Ávila, H.E.; Aguayo-Villarreal, I.A.; Diaz-Muñoz, L.L.; Moreno-Pérez, J.; Sánchez-Ruiz, F.J.; Rojas-Mayorga, C.K.; Mendoza-Castillo, D.I.; Bonilla-Petriciolet, A. A review of the modeling of adsorption of organic and inorganic pollutants from water using artificial neural networks. Adsorpt. Sci. Technol. 2022, 2022, 9384871. [Google Scholar] [CrossRef] [Scilit]
  24. Bhagat, S.K.; Pilario, K.E.; Babalola, O.E.; Tiyasha, T.; Yaqub, M.; Onu, C.E.; Pyrgaki, K.; Falah, M.W.; Jawad, A.H.; Yaseen, D.A.; et al. Comprehensive review on machine learning methodologies for modeling dye removal processes in wastewater. J. Clean. Prod. 2023, 385, 135522. [Google Scholar] [CrossRef] [Scilit]
  25. da Costa, M.F.; Araújo, R.D.S.; Silva, A.R.; Pereira, L.; Silva, G.M. Predictive artificial neural networks as applied tools in the remediation of dyes by adsorption—A review. Appl. Sci. 2025, 15, 2310. [Google Scholar] [CrossRef] [Scilit]
  26. Nascimento, M.X.; Santos, B.A.P.D.; Nassarden, M.M.S.; Nogueira, K.D.S.; Barros, R.G.D.S.; Golin, R.; Siqueira, A.B.D.; Vasconcelos, L.G.D.; Morais, E.B.D. Artificial neural network-based modeling of Malachite green adsorption onto baru fruit endocarp: Insights into equilibrium, kinetic, and thermodynamic behavior. Int. J. Phytoremediat. 2024, 26, 1749–1763. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Karishma, S.; Deivayanai, V.C.; Thamarai, P.; Ragini, Y.P.; Saravanan, A.; Vickram, A.S. Experimental insights and neural network-driven modeling of dye adsorption dynamics using raw and carbonized Spirogyra maxima biomass. Chem. Pap. 2025, 79, 7987–8007. [Google Scholar] [CrossRef] [Scilit]
  28. Sudarsan, S.; Vinayagam, R.; Selvaraj, R. Advanced Machine-Learning Frameworks for Predicting Malachite Green Adsorption onto Superparamagnetic-Activated Carbon Derived from Spathodea campanulata Flowers. S. Afr. J. Chem. Eng. 2026, 55, 244–254. [Google Scholar] [CrossRef] [Scilit]
  29. Sudarsan, S.; Murugesan, G.; Varadavenkatesan, T.; Vinayagam, R.; Selvaraj, R. Machine learning modelling and mechanistic insights into malachite green adsorption on sustainable magnetic activated carbon. J. Water Process Eng. 2026, 81, 109327. [Google Scholar] [CrossRef] [Scilit]
  30. Tayebi, H.A.; Ghanei, M.; Aghajani, K.; Zohrevandi, M. Modeling of reactive orange 16 dye removal from aqueous media by mesoporous silica/crosslinked polymer hybrid using RBF, MLP and GMDH neural network models. J. Mol. Struct. 2019, 1178, 514–523. [Google Scholar] [CrossRef] [Scilit]
  31. Wang, X.; Liu, S.; Chen, S.; He, X.; Duan, W.; Wang, S.; Zhao, J.; Zhang, L.; Chen, Q.; Xiong, C. Prediction of adsorption performance of ZIF-67 for malachite green based on artificial neural network using L-BFGS algorithm. J. Hazard. Mater. 2024, 473, 134629. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  32. Alsaffar, M.A.; Mageed, A.K.; Ghany, M.A.R.A.; Ayodele, B.V. Elucidating Parametric Effect on Biochar Produced from Pyrolysis of Biomass for Wastewater treatment: Artificial Neural Network Modelling. Sustain. Chem. Clim. Action 2026, 8, 100191. [Google Scholar] [CrossRef] [Scilit]
  33. Cahyana, D.; Jang, H.J. Addressing data handling shortcomings in machine learning studies on biochar for heavy metal remediation. J. Hazard. Mater. 2025, 491, 137887. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Zhao, Z.W.; Del Cueto, M.; Troisi, A. Limitations of machine learning models when predicting compounds with completely new chemistries: Possible improvements applied to the discovery of new non-fullerene acceptors. Digit. Discov. 2022, 1, 266–276. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  35. Khajavian, M.; Jang, J.H.; Kwon, J.Y.; Lee, J.M.; Lee, S.; Hwang, M.H.; Yang, E.; Jang, J.K.; Chae, K.J. Harnessing interpretable machine learning: SHapley additive exPlanations (SHAP)-driven insights, transformative impact, and controversies in adsorption-based environmental remediation. Inorg. Chem. Commun. 2026, 186, 116269. [Google Scholar] [CrossRef] [Scilit]
  36. Katiyar, A.; Yadav, S.; Smirniotis, P.G.; Pinto, N.G. Synthesis of ordered large pore SBA-15 spherical particles for adsorption of biomolecules. J. Chromatogr. A 2006, 1122, 13–20. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  37. Meléndez-Ortiz, H.I.; Puente-Urbina, B.; Castruita-de Leon, G.; Mata-Padilla, J.M.; García-Uriostegui, L. Synthesis of spherical SBA-15 mesoporous silica. Influence of reaction conditions on the structural order and stability. Ceram. Int. 2016, 42, 7564–7570. [Google Scholar] [CrossRef] [Scilit]
  38. Liu, Y.; Fan, Q.; Wang, J. Zn-Fe-CNTs catalytic in situ generation of H2O2 for Fenton-like degradation of sulfamethoxazole. J. Hazard. Mater. 2018, 342, 166–176. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  39. Schober, P.; Boer, C.; Schwarte, L.A. Correlation coefficients: Appropriate use and interpretation. Anesth. Analg. 2018, 126, 1763–1768. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Montgomery, D.C.; Peck, E.A.; Vining, G.G. Introduction to Linear Regression Analysis, 6th ed.; John Wiley & Sons: Hoboken, NJ, USA, 2021. [Google Scholar]
  41. Wasserstein, R.L.; Lazar, N.A. The ASA’s statement on p-values: Context, process, and purpose. Am. Stat. 2016, 70, 129–133. [Google Scholar] [CrossRef] [Scilit]
  42. Seabold, S.; Perktold, J. Statsmodels: Econometric and statistical modeling with Python. In Proceedings of the 9th Python in Science Conference, Austin, TX, USA, 28 June–3 July 2010; pp. 92–96. [Google Scholar]
  43. Hornik, K.; Stinchcombe, M.; White, H. Multilayer feedforward networks are universal approximators. Neural Netw. 1989, 2, 359–366. [Google Scholar] [CrossRef] [Scilit]
  44. LeCun, Y.A.; Bottou, L.; Orr, G.B.; Müller, K.-R. Efficient BackProp. In Neural Networks: Tricks of the Trade; Montavon, G., Orr, G.B., Müller, K.-R., Eds.; Lecture Notes in Computer Science, Volume 7700; Springer: Berlin/Heidelberg, Germany, 2012; pp. 9–48. [Google Scholar]
  45. Liu, D.C.; Nocedal, J. On the limited memory BFGS method for large scale optimization. Math. Program. 1989, 45, 503–528. [Google Scholar] [CrossRef] [Scilit]
  46. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  47. Kaufman, S.; Rosset, S.; Perlich, C.; Stitelman, O. Leakage in data mining: Formulation, detection, and avoidance. ACM Trans. Knowl. Discov. Data 2012, 6, 15. [Google Scholar]
  48. Arlot, S.; Celisse, A. A survey of cross-validation procedures for model selection. Stat. Surv. 2010, 4, 40–79. [Google Scholar] [CrossRef] [Scilit]
  49. Roberts, D.R.; Bahn, V.; Ciuti, S.; Boyce, M.S.; Elith, J.; Guillera-Arroita, G.; Hauenstein, S.; Lahoz-Monfort, J.J.; Schröder, B.; Thuiller, W.; et al. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography 2017, 40, 913–929. [Google Scholar] [CrossRef] [Scilit]
  50. Barber, R.F.; Candès, E.J.; Ramdas, A.; Tibshirani, R.J. Predictive inference with the jackknife+. Ann. Stat. 2021, 49, 486–507. [Google Scholar] [CrossRef] [Scilit]
  51. Fisher, A.; Rudin, C.; Dominici, F. All models are wrong, but many are useful: Learning a variable’s importance by studying an entire class of prediction models simultaneously. J. Mach. Learn. Res. 2019, 20, 1–81. [Google Scholar]
  52. Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems 30; Guyon, I., von Luxburg, U., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., Garnett, R., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2017; pp. 4765–4774. [Google Scholar]
  53. Wang, H.; Liu, C.-J. Preparation and characterization of SBA-15 supported Pd catalyst for CO oxidation. Appl. Catal. B Environ. 2011, 106, 672–680. [Google Scholar] [CrossRef] [Scilit]
  54. Xia, Y.-F.; Yuan, H.-Q.; Qiao, C.; Li, W.; Wang, R.; Chen, P.; Li, Y.-X.; Bao, G.-M. Multifunctional Eu3+-MOF for simultaneous quantification of malachite green and leuco-malachite green and efficient adsorption of malachite green. J. Hazard. Mater. 2024, 465, 133386. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  55. Wang, M.; Jiao, Y.; Li, N.; Su, Y. Synthesis of a SiO2-MgO composite material derived from yellow phosphorus slag with excellent malachite green adsorption activity. J. Alloys Compd. 2023, 969, 172344. [Google Scholar] [CrossRef] [Scilit]
  56. Tang, R.; Hong, W.; Srinivasakannan, C.; Liu, X.; Wang, X.; Duan, X. A novel mesoporous Fe-silica aerogel composite with phenomenal adsorption capacity for malachite green. Sep. Purif. Technol. 2022, 281, 119950. [Google Scholar] [CrossRef] [Scilit]
  57. Sarojini, G.; Venkatesh Babu, S.; Rajamohan, N.; Rajasimman, M. Performance evaluation of polymer-marine biomass based bionanocomposite for the adsorptive removal of malachite green from synthetic wastewater. Environ. Res. 2022, 204, 112132. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  58. Douba, H.; Mohammedi, O.; Fizir, M.; Sabour, S.; Bidaoui, M.; Zermane, F.; Cheknane, B. Porous sodium alginate/MCM-41 composites for malachite green removal from aqueous medium: Kinetic, isotherm, and mechanism study. J. Mol. Liq. 2025, 427, 127402. [Google Scholar] [CrossRef] [Scilit]
  59. Hashem, A.A.; Mahmoud, S.A.; Geioushy, R.A.; Fouad, O.A. Adsorption of malachite green dye over synthesized calcium silicate nanopowders from waste materials. Mater. Sci. Eng. B 2023, 295, 116605. [Google Scholar] [CrossRef] [Scilit]
  60. Makhado, E. Preparation of carboxymethyl cellulose-based silica hydrogel nanocomposite for methylene blue and malachite green dyes adsorption from aqueous solution. Surf. Interfaces 2025, 56, 105699. [Google Scholar] [CrossRef] [Scilit]
  61. Algethami, J.S.; Alhamami, M.A.M.; Alqadami, A.A.; Melhi, S.; Seliem, A.F. Magnetic hydrochar grafted-chitosan for enhanced efficient adsorption of malachite green dye from aqueous solutions: Modeling, adsorption behavior, and mechanism analysis. Int. J. Biol. Macromol. 2024, 254, 127767. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  62. Li, X.-Y.; Wang, W.-R.; Xue, R.-C.; Chen, P.-Y.; Wang, Y.; Yu, L.-P. Carbon dots/silica nanoaggregates for highly efficient adsorption of alizarin red S and malachite green dyes. New J. Chem. 2023, 47, 8965–8973. [Google Scholar] [CrossRef] [Scilit]
  63. Önal, E.S.; Yatkın, T.; Aslanov, T.; Ergüt, M.; Özer, A. Biosynthesis and characterization of iron nanoparticles for effective adsorption of Cr(VI). Int. J. Chem. Eng. 2019, 2019, 1–13. [Google Scholar] [CrossRef] [Scilit]
  64. Karateke, S. Some mathematical properties of flexible hyperbolic tangent activation function with application to deep neural networks. Rev. Real Acad. Cienc. Exactas Fis. Nat. Ser. A Mat. 2025, 119, 42. [Google Scholar] [CrossRef] [Scilit]
  65. Kearney, S.P.; Augustine, D.J.; Porensky, L.M.; Peirce, E.S.; Hiestand, M.P.; Derner, J.D. Bringing cross-validation into the real world to evaluate transferability of satellite-based vegetation models. Sci. Rep. 2026, 16, 9383. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  66. Wang, H.; Yuan, X.; Zeng, G.; Leng, L.; Peng, X.; Liao, K.; Peng, L.; Xiao, Z. Removal of malachite green dye from wastewater by different organic acid-modified natural adsorbent: Kinetics, equilibriums, mechanisms, practical application, and disposal of dye-loaded adsorbent. Environ. Sci. Pollut. Res. 2014, 21, 11552–11564. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  67. Foo, K.Y.; Hameed, B.H. An overview of dye removal via activated carbon adsorption process. Desalin. Water Treat. 2010, 19, 255–274. [Google Scholar] [CrossRef] [Scilit]
  68. Ojedokun, A.T.; Bello, O.S. Kinetic modeling of liquid-phase adsorption of Congo red dye using guava leaf-based activated carbon. Appl. Water Sci. 2017, 7, 1965–1977. [Google Scholar] [CrossRef] [Scilit]
  69. Molnar, C. Interpretable Machine Learning: A Guide for Making Black Box Models Explainable; Lean Publishing: Victoria, BC, Canada, 2019. [Google Scholar]
  70. Al-Qodah, Z. Adsorption of dyes using shale oil ash. Water Res. 2000, 34, 4295–4303. [Google Scholar] [CrossRef] [Scilit]
  71. Wang, S.; Boyjoo, Y.; Choueib, A.; Zhu, Z.H. Removal of dyes from aqueous solution using fly ash and red mud. Water Res. 2005, 39, 129–138. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  72. Önal, Y.; Akmil-Başar, C.; Sarıcı-Özdemir, Ç. Investigation kinetics mechanisms of adsorption malachite green onto activated carbon. J. Hazard. Mater. 2007, 146, 194–203. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  73. Abid, L.H.; Mussa, Z.H.; Deyab, I.F.; Al-Ameer, L.R.; Al-Saedi, H.F.S.; Al-Qaim, F.F.; Kamyab, H.; Rajendran, S.; Imran, A.F.; Yaseen, Z.M. Walnut shell as a bio-activated carbon for elimination of malachite green from its aqueous solution: Adsorption isotherms, kinetics and thermodynamic studies. Results Chem. 2025, 14, 102124. [Google Scholar] [CrossRef] [Scilit]
  74. Bouras, H.D.; Gagi, K.; Daoud, M.; Bennaceur, F.; Khane, Y.; Aissa, A.; Belibagli, P.; Favier, L.; Yalvac, M.; Dizge, N. Application of waste foundry sand in the adsorption of Malachite green dye from aqueous solutions. React. Kinet. Mech. Catal. 2026, 139, 2205–2225. [Google Scholar] [CrossRef] [Scilit]
  75. Al-Aizari, F.A.; Hameed, M.M.A.; Al-Enizi, A.M.; El-Newehy, M. Highly efficient organic dyes adsorption by organic acids-modified Poly(ethylene-co-vinyl alcohol) from aqueous solution. J. Indian Chem. Soc. 2026, 103, 102750. [Google Scholar] [CrossRef] [Scilit]
  76. Langmuir, I. The adsorption of gases on plane surfaces of glass, mica and platinum. J. Am. Chem. Soc. 1918, 40, 1361–1403. [Google Scholar] [CrossRef] [Scilit]
  77. Ho, Y.S.; McKay, G. Pseudo-second order model for sorption processes. Process Biochem. 1999, 34, 451–465. [Google Scholar] [CrossRef] [Scilit]
  78. Box, G.E.P.; Behnken, D.W. Some new three-level designs for the study of quantitative variables. Technometrics 1960, 2, 455–475. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.