Abstract
Wastewater containing a mixture of heavy metals, a byproduct of chemical, petrochemical, and refinery activities driven by urbanization and industrial expansion, poses significant environmental threats. Analyzing such wastewater through adsorbate-adsorbent experiments yields extensive datasets. However, traditional methodologies like the Box–Behnken design (BBD) within the response surface methodology (RSM) struggle with managing large datasets and capturing the complex, nonlinear relationships inherent in such experimental data. To address these challenges, ML techniques have emerged as promising tools for accurately predicting the removal percentage of heavy metals from wastewater. In this study, we utilized tree-based regression models—specifically decision tree regression (DTR), random forest regression (RFR), and extra tree regression (ETR)—to forecast the efficiency of gooseberry seed powder in removing chromium (Cr(VI)) from wastewater. Additionally, we employed an ML-based Nelder–Mead optimization approach to identify the optimal values for key features (initial Cr(VI) concentration, pH, and Indian gooseberry powder dosage) which maximized the Cr(VI) removal percentage. Our experimental results reveal that the ETR model achieved an impressive score of 0.99, demonstrating a low error rate in predicting the Cr(VI) removal percentage. Furthermore, we used DTR-Nelder–Mead, RFR-Nelder–Mead, and ETR-Nelder–Mead optimization approaches on a synthesized dataset of 2000 instances while varying the initial Cr(VI) concentration, pH, and Indian gooseberry powder dosage. The analysis determined that the DTR-Nelder–Mead and RFR-Nelder–Mead approaches yielded the highest Cr(VI) removal percentages of 78.21% and 78.107% at an initial concentration of 95.55 mg/L, respectively, a pH level of four, and an adsorbent dosage of 8 g/L of gooseberry seed powder. Furthermore, the ETR-Nelder–Mead approach obtained the maximum Cr(VI) removal percentage of 85.11% at an initial concentration of 99.25 mg/L, a pH level of 4.97, and an adsorbent dosage of 9.62 g/L of gooseberry seed powder. These results reported an increase in the Cr(VI) removal percentage ranging from 4.66% to 11.56% more than the Cr(VI) removal percentage obtained by experimentation. These findings underscore the efficacy of tree-based regression models and ML-based Nelder–Mead optimization in elucidating chromium removal processes from wastewater, offering valuable insights into effective treatment strategies.
1. Introduction
The surge in urbanization and industrial activities has triggered a notable upsurge in wastewater volumes stemming from chemical, petrochemical, and refinery processes. Within this wastewater milieu, heavy metals stand out as significant environmental hazards, often being discharged into water bodies without adherence to stringent environmental regulations [1,2]. Among these, hexa-valent chromium (Cr(VI)), notorious for its high toxicity, carcinogenicity, and mutagenicity, poses a particular concern [3]. For instance, has been implicated in the onset of lung cancer [4,5]. Activities such as metal finishing, leather tanning, electroplating, and textile production are recognized as common sources of chromium contamination in wastewater. Moreover, both Cr(III) and Cr(VI) have been identified as pertinent constituents in terms of toxicity risks within wastewater. It is widely acknowledged that Cr(VI) exhibits significantly higher toxicity compared with Cr(III), mainly due to its high solubility in water, mobility, and facile reduction properties [6]. The toxicity of Cr(VI) arises from its oxidizing nature and its potential to generate free radicals during the reduction process from Cr(VI) to Cr(III) within living cells [7]. The standard tolerance limit for Cr(VI) in wastewater streams is typically set to 0.05 mg/L [8].
1.1. Motivation
The conventional experimental methods for Cr(VI) removal using bio-absorption often lack a comprehensive understanding of the interactions between various process parameters and their optimal values within the experimental parameter range. Consequently, significant additional time is required to gain insights into these issues and identify the optimal combination of process parameters which maximizes Cr(VI) removal. Such insights are crucial for reducing process costs and improving process efficiency, enabling the treatment of larger volumes of wastewater. One effective approach for obtaining deeper insights into the interaction and significance of various process parameters, as well as identifying optimal parameter values, is the implementation of RSM using multivariable statistical approaches, which has proven valuable in achieving these objectives.
However, traditional statistical tools such as BBD in the RSM [9,10,11,12,13] have inherent limitations when it comes to predicting removal efficiency, while ML models offer significant advantages in this regard. The BBDs in the RSM rely on the assumption of linearity, which constrains their ability to capture nonlinear relationships, ultimately compromising their accuracy and adaptability. In contrast, ML models excel in capturing complex nonlinear patterns and interactions, enabling more precise and flexible forecasts of removal efficiency. Furthermore, ML models leverage a data-driven approach, allowing them to adapt to diverse datasets and uncover subtle patterns which may be overlooked by traditional designs, such as BBDs in the RSM. Moreover, the versatility of ML models extends to their ability to handle high-dimensional data effortlessly, automatically discerning pertinent features and interactions sans manual intervention. Their resilience to noise and outliers stems from their capacity to glean patterns from diverse datasets, mitigating the impact of erroneous measurements.
Additionally, ML models can seamlessly incorporate temporal dynamics, adapting their predictions in response to evolving conditions or system behavior. This adaptability proves invaluable when the removal efficiency is subject to factors which fluctuate over time, such as fouling or aging effects. Furthermore, the innate generalization capability of ML models empowers them to furnish reliable forecasts for removal efficiency across novel scenarios beyond the confines of experimental design constraints. Nonetheless, it is imperative to acknowledge that the efficacy of ML models hinges on various factors, including the quality of training data, adept feature engineering, judicious model selection, and rigorous validation. Domain expertise and interpretability considerations also warrant attention when weighing the merits of ML models against traditional methodologies like the RSM and BBDs. Connected to this, a proposed work considered the experimental data, which was carried out by Krishna et al. [14]. These data were analysed thoroughly through ML and optimization approaches in order to determine the optimal parameters and their impact along with prediction analysis.
1.2. The Literature
Traditional methods for Cr(VI) removal from wastewater encompass various techniques, such as chemical precipitation [15], ion exchange [16], reduction processes [17], electro-chemical methods [18], extraction techniques [19], membrane processes [20], evaporation methods [21], and foam separation processes [22]. While these methods offer advantages, they often encounter limitations like high costs or inefficiency at lower concentrations. An alternative approach to addressing these challenges is bio-absorption, which has been proven to be effective and cost-efficient in Cr(VI) removal from wastewater, employing naturally available agricultural waste materials. Numerous bio-materials, including tamarind seeds, rice husk, maize bran, walnut hull, groundnut hull, Limonia acidissima hull powder, and Ragi husk powder, have been explored as adsorbents for Cr(VI) removal from aqueous solutions [23]. Furthermore, the experiments conducted by Krishna et al. [14] extensively explored batch adsorption studies using Indian gooseberry seed powder for Cr(VI) adsorption from synthetic wastewater solutions. These studies involved varying parameters such the as initial Cr(VI) solution concentration, pH level, and biomass dosage to examine their influence on the adsorption process.
In the context of advocating for ML over BBDs in the RSM for predicting chromium removal, several studies have delved into the advantages of ML models in this realm. Notably, Haripriyan Uthayakumar et al. [24], Meghna Datta et al. [25], and Mohd Zafar et al. [26] successfully harnessed artificial neural networks (ANNs) to accurately forecast chromium removal efficiency based on experimental data. Similarly, Xinzhe Zhu et al. [27] leveraged ML models to attain precise predictions of chromium removal. Additionally, Mohammad Mahbub Kabir et al. [28] employed a tea waste-polyvinyl alcohol (TW-PVA) mixture to eliminate Cr(VI) from aqueous solutions. Furthermore, R. Ali Khan Rao et al. [29,30] proposed the removal of Cr(VI) through the medicinal plant materials of Artimisia absinthium and Litchi chinensis fruit peels. Moreover, as can be gleaned from the literature [14,24,25,26,27], a detailed batch experimental study was carried out for the removal of Cr(VI) from wastewater using Indian gooseberry seed powder.
1.3. Research Gaps
The following are the research gaps identified from the literature:
- The literature indicates that the traditional statistical approach of BBDs in the RSM for optimizing Cr(VI) removal from wastewater struggle to capture nonlinear relationships between the process parameters and removal efficiency.
- In addition, the focus of conventional experimental approaches for Cr(VI) removal using bio-absorption materials, which are lacking in terms of identifying optimal combinations of process parameters, may lead to increased experimentation time and cost.
- Furthermore, previous research by Krishna et al. [14], which explored the use of Indian gooseberry seed powder as an adsorbent for Cr(VI) removal, had a gap in the application of ML models for analyzing and optimizing this process. Similarly, the existing literature also does not fully capture the intricate interactions between various process parameters (such as the initial Cr(VI) concentration, pH level, and adsorbent dosage) and their impact on removal efficiency.
1.4. Novelty
The objective of the present study was to find out the optimum process parameters when using ML models and Nelder–Mead optimization for the removal of chromium (VI) from wastewater with Indian gooseberry seed powder as an adsorbent. Aligned with this research trend, the present study utilizes ML models to scrutinize experimental data pertaining to Cr(VI) removal, as delineated in [14]. Notably, the application of ML models and ML-based Nelder–Mead optimization for Cr(VI) removal using Indian gooseberry seed powder represents a novel approach, which is corroborated by the literature review. By harnessing ML and Nelder–Mead optimization techniques, this study contributes to the burgeoning knowledge in predicting and attaining optimal feature values to enhance chromium removal efficiency, particularly within the specific context of Indian gooseberry seed powder.
1.5. Major Contributions
This work addresses the research gaps stated in Section 1.3 by exploring the capabilities of tree-based ML models and Nelder–Mead optimization approaches for maximization of Cr(VI) removal when using Indian gooseberry seed powder as an adsorbent. The contributions of this study are aimed to achieve following key issues:
- Better prediction of efficiency in removing Cr(VI): ML models outperform conservative BBD approaches in realizing sophisticated nonlinear connections. Consequently, this permits more exact estimations of Cr(VI) removal efficiency using different process parameters.
- Improved maximization through optimization: The proposed approach employs ML-based Nelder–Mead optimization for maximizing Cr(VI) removal, and it reduces the experimentation time and treatment cost and allows efficient processing of larger wastewater volumes.
- Integration of ML models with optimization: The combination of ML models with optimization is a novel approach which has not been previously reported in the literature. Moreover, it offers a new direction for exploring this bio-absorption material.
1.6. Organization
The remainder of this work is structured as follows. Section 2 presents the experimentation procedure and data collection methodology. Section 3 elucidates the architecture and functionality of the proposed approach. Subsequently, Section 4 delineates the experimental results, their comparison, and the ensuing analysis. Finally, Section 5 encapsulates the key findings of this study and offers concluding remarks.
2. Materials and Methods
In this work, the results obtained from the experimentation have been organized and presented in Table 1 [14]. Additionally, as explained in Section 3.1, the curve-fitting technique was applied to the experimental data. Subsequently, data synthesis was performed using the fitted curve as described in Section 3.2.
Table 1.
The instances of the dataset.
2.1. Summary of Experimental Investigations
Indian gooseberry seeds sourced from local markets underwent a rigorous preparation process. Initially, they were meticulously washed, dried, and subjected to crushing using primary crushers. Subsequently, the crushed seeds were air-dried under sunlight until reaching a constant weight. Further grinding was accomplished using roll crushers and hammer mills. The resultant material underwent screening through British Standard screen meshes to achieve the desired particle sizes of 63 µm, 89 µm, and 125 µm. Finally, the processed products were stored in glass bottles in preparation for the heavy metal removal investigations.
A stock solution of chromium (VI) was prepared by dissolving 2.835 g of 99% in double distilled water within a 1.0 L volumetric flask, yielding a concentration of 1000 ppm (mg/L). Synthetic samples with varying concentrations of chromium (VI) were derived from this stock solution through appropriate dilutions.
Batch mode adsorption studies were conducted to explore chromium removal from wastewater, examining the influence of several parameters. These parameters included the initial concentration of the metal (ranging from 20 to 100 mg/L), adsorbent dosage (ranging from 0.05 to 0.5 g in 50 mL of solution), agitation time (ranging from 5 to 120 min), adsorbent size (utilizing mesh sizes of 63 µm, 89 µm, and 125 µm), and pH level (ranging from 1 to 9). The experiments were conducted at a consistent temperature of 303 K.
2.2. Dataset
The experimental dataset [14], as shown in Table 1, consisted of 56 instances and 4 features, in which 3 features, namely “initial concentration of Cr(VI)”, “pH”, and “adsorbent dosage”, are the independent features and “percentage removal of Cr(VI)” is a dependent feature, and its statistics are as reported in Table 2.
Table 2.
The statistical description of the dataset.
3. Proposed Model
The proposed approach reported in Figure 1 consists of seven phases, namely (1) curve fitting, (2) synthesizing the dataset, (3) scaling and splitting, (4) model building and training, (5) model testing, (6) optimization, and (7) comparison analysis.
Figure 1.
The flow of the proposed work with ML models and Nelder–Mead optimization.
3.1. Curve Fitting
In the context of experimental data comprising a limited number of instances, such as 55, curve fitting emerges as a valuable approach to uncovering the underlying trends and relationships between variables. This methodological strategy allows deriving a mathematical model that captures the essence of the observed data, providing insights into the behavior of the system under investigation. Furthermore, curve fitting serves as an effective tool for generating synthesized data related to experimentation and guiding subsequent data-driven analyses. Hence, this work applied curve fitting on experimental data to enable quantification of the relationships between the independent variables (initial concentration of Cr(VI) (IC), pH, and adsorbent dosage (AD)) and the percentage removal of Cr(VI) observed in experimental studies. This approach can precisely describe the dependencies and assess the impact of each factor on the removal efficiency by establishing the mathematical model as reported in Equation (1), where a, b, and c are the weights associated with each independent feature. In this case, the mathematical model is a linear combination of the independent variables (“IC”, “pH’’, and “AD’’) weighted by the parameters (“a’’, “b’’, and “c’’). This mathematical model is expressed as shown in Equation (1):
3.2. Synthesized Dataset
In this work, a synthesized dataset of 2000 instances with three features, namely “initial concentration of Cr(VI)”, “pH”, and “adsorbent dosage (g/L)” of varying feature values, was built as presented in Table 3. The randomization technique was applied to create a dataset with 2000 instances using these starting and ending values. This dataset was given as initial_data to the Nelder–Mean optimization approach as shown in Algorithm 1. These data underwent the four steps in Algorithm 1—simplex, reflection, expansion, shrinkage, and termination—after reaching the optimal solution.
| Algorithm 1: Nelder–Mead optimization for maximum Cr(VI) removal. |
|
Table 3.
The range of feature values to synthesize the dataset.
3.3. Scaling and Splitting
The data values of the initial concentration of Cr(VI), pH, and adsorbent dosage input parameters were in different scales. Hence, models trained with features which are in different scales may not contribute equally to learning and, in turn, model fitting. This may incur adverse effects on model performance. Hence, standardization or Z score normalization was applied to the input parameters to convert the entire input space to equal scale values through Equation (2) below. Here, is the independent feature, is the mean of the independent feature, N is number of instances, and is the standard deviation of the independent feature:
After scaling, the proposed approach separated data into two portions: the training data (80%) with 1400 instances and test data (20%) with 600 instances.
3.4. Model Building and Training
The proposed work employed tree-based regression models (as reported in Figure 1) to attain higher prediction accuracy for Cr(VI) removal. The synthesized dataset was divided into training (85%) and testing (15%) sets. Furthermore, each model was trained on the trained portion of data, with their performance evaluated with the testing data, and finally the model’s performance was analyzed. As shown in Figure 1, models – are the trained models for DTR, RFR, and ETR, respectively. Moreover, – are the predicted results on the testing data for DTR, RFR, and ETR, respectively.
3.5. Model Testing
The chromium removal efficiency of each ML model was evaluated on the testing and synthesized data using metrics such as the mean absolute error (MAE), mean squared error (MSE), root mean squared error (RMSE), score, and finally the relative root mean squared error (RRMSE). The notations used in the calculation of each metric are presented in Table 4. The regression model is said to be best when its score is close to one and the values are small for the remaining metrics (MAE, MSE, and RMSE).
Table 4.
The notations used in this work.
- Root Mean Squared Error (RMSE): Also called the root mean square deviation (RMSD) or root mean squared error on prediction (RMSE), the square root of summation of the squared residuals divided by the total number of instances, as reported in Equation (6), is known as the RMSE:
- –Score: Also called the coefficient of determination, this specifies the variance or score of a model based on given test data and indicates how much of the variance in the dependent features is explained by an independent feature. Equations (7) and (8) show the mathematical formulas for the score’s calculation, where a continuous value between 0 and 1 indicates model score and a model score near one indicates that the model performance is good with minimal error:
- Relative Root Mean Squared Error (RRMSE): The RRMSE is calculated as stated in Equation (9). The model performance is expressed as a percentage. A model with a value < 10% is said to be excellent, while it is good if it is between 10% and 20%, fair if it is between 20% and 30%, and poor if it is above 30%:
- Chromium (VI) removal percentage: In the traditional approach, chromium (VI) removal efficiency [14,31] is measured as shown in Equation (10). However, in this work, the synthesized dataset with 2000 instances was built using original experimental data (shown in Table 1) by varying the initial chromium (VI) concentration (20–100 mg/L), pH level (1–5), and Indian gooseberry powder dosage (2–10 g/L). The synthesized data samples were given as testing data to all trained ML models to determine the optimal values which removed the highest percentage of chromium (VI) from synthetic wastewater for the three independent features (“initial concentration of Cr(VI)”, “pH”, and “Adsorbent dosage”). During the prediction procedure, comparison analysis of the three ML models through six evolution metrics—the MAE, MSE, RMSE, –Score, and RRMSE—is presented in Table 5 and the optimal values for the maximum percentage of chromium (VI) removal are presented in Table 6.Table 5. Performance of DTR, RFR, and ETR models.Table 6. The optimal values obtained by Nelder–Mead optimization with DTR, RFR, and ETR.
3.6. Nelder–Mead Optimization
The proposed work implemented ML-based Nelder–Mead optimization as reported in Algorithm 1 to determine the optimal feature values (initial concentration of Cr(VI), pH, and adsorbent dosage (g/L)) which obtained maximum Cr(VI) removal from wastewater. In this approach, ML models were added in place of the actual objective function of the Nelder–Mead optimization algorithm. This work applied DTR-Nelder–Mead optimization, RFR-Nelder–Mead optimization, and ETR-Nelder–Mead optimization approaches on a synthesized dataset as depicted in Figure 1 to determine the optimal values for maximization of Cr(VI) removal. The implementation of a Nelder–Mead optimization algorithm to determine the maximum removal of Cr(VI) is as follows. This optimization is a powerful tool for finding the best combination of settings (independent variables) to achieve a desired outcome. In this case, we were using it to identify the optimal values for the initial concentration, pH, and adsorbent dosage (Indian gooseberry Seed Powder) which maximized the removal percentage of Cr(VI) from synthetic wastewater.
The algorithm relies on a trained ML model. This model takes a specific combination of concentration, pH, and dosage values as the input and predicts the resulting Cr(VI) removal percentage. The Nelder–Mead algorithm starts by creating a geometric shape called a simplex in the parameter space. This simplex contains several points, each representing a different combination of the three independent variables. The algorithm then iteratively refines the simplex to identify the region which maximizes Cr(VI) removal. In each iteration, it evaluates the predicted removal percentage for each point (vertex) in the simplex using the ML model. The point with the lowest predicted removal (since we are maximizing) is identified as the “worst vertex”. The algorithm then reflects this worst vertex through the centroid (average) of the remaining points, creating a new candidate solution. This new candidate is evaluated using the ML model.
If the new candidate predicts a higher Cr(VI) removal percentage than the worst vertex, then it replaces the worst vertex within the simplex. This effectively moves the simplex toward a more promising region of the parameter space. However, if the new candidate does not lead to improvement, then the algorithm might explore further by either expanding the reflected vertex or contracting the entire simplex. This exploration helps the algorithm avoid getting stuck in local optima and find the true optimal combination which maximizes Cr(VI) removal. The loop continues until a termination criterion is met, such as an extrmeely small change in the predicted removal percentage observed between iterations. Finally, the vertex within the simplex with the highest predicted Cr(VI) removal percentage represents the optimal combination of the three independent variables for maximizing Cr(VI) removal in this experiment.
Furthermore, the synthesized dataset was given as initial_data to the Nelder–Mead optimization to evaluate the performance of the optimization algorithm. These input data underwent five steps in the algorithm—simplex, reflection, expansion, shrinkage, and termination—after reaching the optimal solution.
4. Results and Discussions
The proposed approach splits the dataset into training and testing, as reported in Figure 1. Each model built trained models, such as –, after training on the trained data and then tested their performance through test data to obtain predicted outputs, such as –, as shown in Figure 1. The evolution metrics applied on each predicted result to evaluate the performance of each ML model are as reported in Table 5. The results demonstrate that all models achieved a high score of 99%. Additionally, the MAE remained below 0.06, while the mean squared error (MSE) and root mean squared error (RMSE) were 0.01 and 0.41, respectively. Moreover, Figure 2, Figure 3 and Figure 4 depict a comparison between the actual and predicted removal percentages of chromium (VI) with the DTR, RFR, and ETR models, respectively. Furthermore, the results reveal that the predicted values of RFR diverged considerably from the actual values, whereas the predicted values of ETR were comparatively better.
Figure 2.
Comparison of actual and predicted Cr(VI) removal% of DTR.
Figure 3.
Comparison of actual and predicted Cr(VI) removal% of RFR.
Figure 4.
Comparison of actual and predicted Cr(VI) removal% of ETR.
Additionally, for a more detailed analysis, Figure 2, Figure 3 and Figure 4 provide individual comparisons of each ML model with the actual chromium removal percentage. These comparisons reaffirm the superior performance by DTR, RFR, and ETR, exhibiting a high score and a lower error rate. Through the graphical comparison, it can be observed that the DTR, RFR, and ETR models yielded predictions which closely matched the actual values. The ETR model, however, consistently performed well by closely approximating the actual removal percentage of chromium VI. Furthermore, the removal efficiency of the model was tested for a sample size of 600 instances with three features: the initial concentration of Cr(VI), pH level, and adsorbent dosage (g/L). This sample was synthesized in a random manner, assuming the range of the initial concentration of Cr(VI) was 20–100 ppm. Similarly, the pH range was assumed to be between 1 and 5. Likewise, the considered range for the adsorbent dosage was from 2 to 10 g/L. The DTR, RFR, and ETR approach took this entire sample and predicted the chromium (VI) removal percentage. The performance of these models is tabulated in Table 5.
Furthermore, the Nelder–Mead optimization with DTR, RFR, and ETR was run on the test dataset, and its results are presented in Table 6. From the results, it can be observed that the DTR-Nelder–Mead and RFR-Nelder–Mead optimization methods obtained maximums of 78.21% and 78.11% Cr(VI) removal for an initial Cr(VI) concentration of 95.55 mg/L, pH level of four, and adsorbent dosage of 8 g/L. Moreover, the ETR-Nelder–Mead optimization approach obtained 85.11% as the maximum Cr(VI) removal for an initial Cr(VI) concentration of 99.25 mg/L, pH level of 4.97, and adsorbent dosage of 9.62 g/L.
Similarly, the DTR–Nelder-Mead, RFR-Nelder–Mead, and ETR-Nelder–Mead optimization approaches were able to obtain maximums of 78.107–85.11% Cr(VI) removal, with reported increases in the Cr(VI) removal percentage ranging from 4.66% to 11.56% over the Cr(VI) removal percentage of 73.55% obtained by experimentation for an initial Cr(VI) concentration of 20 mg/L, pH level of 2.0, and adsorbent dosage of 8.0 g/L. In summary, based on the comprehensive evaluation, it is concluded that the ML models exhibited strong performance overall. ETR and ETR-Nelder–Mead optimization in particular stood out as the top performers, demonstrating superior accuracy with minimal error rates while obtaining higher Cr(VI) removal percentages than all of the other models.
Furthermore, the surface morphology of the Indian gooseberry seed powder was examined using SEM analysis both before and after Cr(VI) adsorption, as reported in Figure 5. The SEM images before and after Cr(VI) adsorption confirm that the morphology seemed to be an irregularly shaped sheet-like structure, and we did not find any significant changes after the adsorption process. This confirms that the material exhibited the same morphology before and after the reaction.
Figure 5.
SEM images (a) before and (b) after adsorption of Cr(VI).
Validation of the Optimization Results
The results obtained from ETR-Nelder–Mead optimization were validated through experimentation, as reported in Table 7, since a strong prediction framework for the adsorption process was provided by the tree-based machine learning model, which further validated the results. The results show that the experimental outcomes for the optimal parameters, such as the optimal initial Cr(VI) concentration (99.25), optimal pH level (4.97), and optimal adsorbent dosage (9.62 g/L), strongly aligned with a 6.56% error rate. In light of the experimental results as well as the model values, Indian gooseberry seed powder is an effective and low-cost adsorbent, and we suggest using it for the removal of hexavalent chromium from water, as hexavalent chromium has a carcinogenic nature.
Table 7.
Validation of optimization results through experimentation.
5. Conclusions
This study examined a novel approach for Cr(VI) removal efficiency (expressed as a percentage) from wastewater by employing ML models combined with Nelder–Mead optimization. This particular combined strategy for adsorption capacity estimation using any solute or material has not been previously reported in the literature. This research not only leverages the power of ML for accurately predicting the Cr(VI) removal efficiency percentage but also utilizes Nelder–Mead optimization to identify optimal process parameters which maximize Cr(VI) removal efficiency, ultimately achieving a significant enhancement in Cr(VI) removal efficiency compared with standalone experimentation. In this work, ETR in particular achieved outstanding performance in predicting Cr(VI) removal. The ETR model exhibited a remarkable score of 99% and significantly lower error rates compared with the other models. Furthermore, ML-based Nelder–Mead optimization identified the optimal process parameters, leading to a maximum Cr(VI) removal efficiency of 85.11%. This represents an improvement of up to 11.56% compared with standalone experimentation. These results demonstrate the effectiveness of the combined ML and optimization approach for maximizing Cr(VI) removal using Indian gooseberry seed powder. This research work paves the way for further exploration of ML-driven strategies in wastewater treatment applications.
Author Contributions
For this research work, four authors worked together. L.R.K. performed the conceptualization, methodology, software implementation, and writing—original draft preparation; D.K. performed the conceptualization, methodology, and experimentation; U.K.P. performed the validation and visualization; M.M. performed the formal analysis,investigation, and writing—review and editing; S.S.A. performed the formal analysis, data curation, supervision, resources, funding, and writing—review and editing; R.K. performed the experimentation based on reviewer comments, conceptualization, methodology, formal analysis, data curation, and supervision. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by Taif University, Taif, Saudi Arabia (TU-DSPP-2024-111).
Data Availability Statement
The data will be made available upon request to the authors.
Acknowledgments
The authors extend their appreciation to Taif University, Saudi Arabia, for supporting this work through project number (TU-DSPP-2024-111).
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Salavatifar, M.; Khosravi-Darani, K. Investigation of the simulated microgravity impact on heavy metal biosorption by Saccharomyces cerevisiae. Food Sci. Nutr. 2024, 12, 3642–3652. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dey, S.; Veerendra, G.T.N.; Manoj, A.V.P.; Padavala, S.S.A.B. Removal of chlorides and hardness from contaminated water by using various biosorbents: A comprehensive review. Water-Energy Nexus 2024, 7, 39–76. [Google Scholar] [CrossRef] [Scilit]
- Li, Z.; Yu, D.; Wang, X.; Liu, X.; Xu, Z.; Wang, Y. A novel strategy of tannery sludge disposal–converting into biochar and reusing for Cr (VI) removal from tannery wastewater. J. Environ. Sci. 2024, 138, 637–649. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Iqbal, J.; Amjad, S.; Javed, A. Optimum conditions for growth and copper (II) removal from leachate by Chlorella vulgaris, Spirogyra ellipsospora and Ulva lactuca. Bioremediat. J. 2024. [Google Scholar] [CrossRef] [Scilit]
- Iddya, A.; Elezi, G.; Hembade, S.V.; Whitelegge, J.P.; Schwabe, K.; Jassby, D. Integrated Electrochemical Treatment Process for Hexahydro-1, 3, 5-trinitro-1, 3, 5-triazine (RDX), Hexavalent Chromium, and Ammonia Using Electroactive Membranes. Ind. Eng. Chem. Res. 2024, 63, 1941–1952. [Google Scholar] [CrossRef] [Scilit]
- Musielak, M.; Serda, M.; Gagor, A.; Talik, E.; Sitko, R. Ultratrace determination and speciation of hexavalent chromium by EDXRF and TXRF using dispersive micro-solid phase extraction and tetraethylenepentamine graphene oxide. Spectrochim. Acta Part B At. Spectrosc. 2024, 213, 106863. [Google Scholar] [CrossRef] [Scilit]
- Kundu, S.; Layek, M.; Mondal, S.; Mitra, M.; Karmakar, P.; Rahaman, S.M.; Mahali, K.; Acharjee, A.; Saha, B. Insights into the micellar catalysed efficient oxidation of 2-and 3-pentanol by cerium (iv) in a greener medium of SDS and STS. New J. Chem. 2024, 48, 3804–3812. [Google Scholar] [CrossRef] [Scilit]
- Aryal, M. An analysis of drinking water quality parameters to achieve sustainable development goals in rural and urban areas of Besisahar, Lamjung, Nepal. World Water Policy 2024, 10, 297–323. [Google Scholar] [CrossRef] [Scilit]
- Ismail, U.M.; Onaizi, S.A.; Vohra, M.S. Aqueous Pb (II) removal using ZIF-60: Adsorption studies, response surface methodology and machine learning predictions. Nanomaterials 2023, 13, 1402. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chong, D.J.S.; Chan, Y.J.; Arumugasamy, S.K.; Yazdi, S.K.; Lim, J.W. Optimisation and performance evaluation of response surface methodology (RSM), artificial neural network (ANN) and adaptive neuro-fuzzy inference system (ANFIS) in the prediction of biogas production from palm oil mill effluent (POME). Energy 2023, 266, 126449. [Google Scholar] [CrossRef] [Scilit]
- Sharma, P.; Sahoo, B.B.; Said, Z.; Hadiyanto, H.; Nguyen, X.P.; Nižetić, S.; Huang, Z.; Hoang, A.T.; Li, C. Application of machine learning and Box-Behnken design in optimizing engine characteristics operated with a dual-fuel mode of algal biodiesel and waste-derived biogas. Int. J. Hydrogen Energy 2023, 48, 6738–6760. [Google Scholar] [CrossRef] [Scilit]
- Yaro, N.S.A.; Sutanto, M.H.; Habib, N.Z.; Napiah, M.; Usman, A.; Al-Sabaeei, A.M.; Rafiq, W. Mixture design-based performance optimization via response surface methodology and moisture durability study for palm oil clinker fine modified bitumen asphalt mixtures. Int. J. Pavement Res. Technol. 2024, 17, 123–150. [Google Scholar] [CrossRef] [Scilit]
- Uddin, M.K.; Rao, R.A.K.; Mouli, K.V.C. The artificial neural network and Box-Behnken design for Cu2+ removal by the pottery sludge from water samples: Equilibrium, kinetic and thermodynamic studies. J. Mol. Liq. 2018, 266, 617–627. [Google Scholar] [CrossRef] [Scilit]
- Krishna, D.; Padma, D.; Kavya Srithi, P.; Siva Prasad, P. Removal of chromium from aqueous solution by Indian Gooseberry Seed Powder as adsorbent. J. Future Eng. Technol. 2014, 9, 24–31. [Google Scholar] [CrossRef] [Scilit]
- Qing, Y.; Gao, W.; Long, Y.; Kang, Y.; Xu, C. Functionalized Titanium-Based MOF for Cr (VI) Removal from Wastewater. Inorg. Chem. 2023, 62, 6909–6919. [Google Scholar] [CrossRef] [Scilit]
- Misganaw, A.; Akenaw, B.; Getu, S. Determination of the level of chromium (III) and comparison of chemical precipitating agents to recover and reuse it from tannery waste water. Desalin. Water Treat. 2024, 37, 100150. [Google Scholar] [CrossRef] [Scilit]
- Hu, G.; He, Y.; Zhu, K.F.; Zhang, Z.; Lou, W.; Zhang, K.N.; Chen, Y.G.; Wang, Q. Experimental study on injection of ferrous sulphate for remediation of a clayey soil contaminated with hexavalent chromium. Environ. Earth Sci. 2023, 82, 185. [Google Scholar] [CrossRef] [Scilit]
- El-Gawad, H.A.; Hassan, G.K.; Aboelghait, K.M.; Mahmoud, W.H.; Mohamed, R.; Afify, A.A. Removal of chromium from tannery industry wastewater using iron-based electrocoagulation process: Experimental; kinetics; isotherm and economical studies. Sci. Rep. 2023, 13, 19597. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.Y.; Xu, L.H.; Zhuang, Y.F. Effect of electrolyte, potential gradient and treatment time on remediation of hexavalent chromium contaminated soil by electrokinetic remediation and adsorption. Environ. Earth Sci. 2023, 82, 40. [Google Scholar] [CrossRef] [Scilit]
- Mendil, J.; Alalou, A.; Mazouz, H.; Al-Dahhan, M.H. Review of Emulsion Liquid Membrane for Heavy Metals Recovery from Wastewater/water: Stability, Efficiency, and Optimization. Chem. Eng.-Process.-Process. Intensif. 2023, 196, 109647. [Google Scholar] [CrossRef] [Scilit]
- Meena, G.; Rawal, N. Artificial Neural Network Modeling for Adsorption Efficiency of Cr (VI) Ion from Aqueous Solution Using Waste Tire Activated Carbon. Nat. Environ. Pollut. Technol. 2023, 22, 1481–1491. [Google Scholar] [CrossRef] [Scilit]
- Shih, Y.J.; Hsieh, H.L.; Hsu, C.H. Electrochemical Fe (III) mediation for reducing hexavalent chromium Cr (VI) on templated copper-nickel foam electrode. J. Clean. Prod. 2023, 384, 135596. [Google Scholar] [CrossRef] [Scilit]
- Nighojkar, A.; Zimmermann, K.; Ateia, M.; Barbeau, B.; Mohseni, M.; Krishnamurthy, S.; Dixit, F.; Kandasubramanian, B. Application of neural network in metal adsorption using biomaterials (BMs): A review. Environ. Sci. Adv. 2023, 2, 11–38. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Uthayakumar, H.; Radhakrishnan, P.; Shanmugam, K.; Kushwaha, O.S. Growth of MWCNTs from Azadirachta indica oil for optimization of chromium (VI) removal efficiency using machine learning approach. Environ. Sci. Pollut. Res. 2022, 29, 34841–34860. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Datta, M.; Ansari, M.H.; Bandyopadhyay, S.; Selvam, K.; David, S.S. Maximization of Cr Removal in Continuous Counter-current Liquid-Solid Fluidized Bed: A Machine Learning Approach. J. Phys. Conf. Ser. 2021, 1979, 012009. [Google Scholar] [CrossRef] [Scilit]
- Zafar, M.; Aggarwal, A.; Rene, E.R.; Barbusiński, K.; Mahanty, B.; Behera, S.K. Data-driven machine learning intelligent tools for predicting chromium removal in an adsorption system. Processes 2022, 10, 447. [Google Scholar] [CrossRef] [Scilit]
- Zhu, X.; Xu, Z.; You, S.; Komárek, M.; Alessi, D.S.; Yuan, X.; Palansooriya, K.N.; Ok, Y.S.; Tsang, D.C. Machine learning exploration of the direct and indirect roles of Fe impregnation on Cr (VI) removal by engineered biochar. Chem. Eng. J. 2022, 428, 131967. [Google Scholar] [CrossRef] [Scilit]
- Kabir, M.M.; Ferdousi; Sultana, F.S.; Rahman, M.M.; Uddin, M.K. Chromium (VI) removal efficacy from aqueous solution by modified tea wastes-polyvinyl alcohol (TW-PVA) composite adsorbent. Desalin. Water Treat. 2019, 174, 311–323. [Google Scholar] [CrossRef] [Scilit]
- Rao, R.A.K.; Ikram, S.; Uddin, M.K. Removal of Cr (VI) from aqueous solution on seeds of Artimisia absinthium (novel plant material). Desalin. Water Treat. 2015, 54, 3358–3371. [Google Scholar] [CrossRef] [Scilit]
- Ali Khan Rao, R.; Rehman, F.; Kashifuddin, M. Removal of Cr (VI) from electroplating wastewater using fruit peel of leechi (Litchi chinensis). Desalin. Water Treat. 2012, 49, 136–146. [Google Scholar] [CrossRef] [Scilit]
- Hafsa, N.; Rushd, S.; Al-Yaari, M.; Rahman, M. A generalized method for modeling the adsorption of heavy metals with machine learning algorithms. Water 2020, 12, 3490. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).




