원시데이터 수집 시스템
선정목록으로

Predicting micropollutant removal through nanopore-sized membranes using several machine-learning approaches based on feature engineering

간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (18) VENT(방수통기 부품)

기본 정보

저자
  1. Lukka Thuyavan Yogarathinam — Interdisciplinary Research Centre for Membranes and Water Security, King Fahd University of Petroleum and Minerals, Dhahran, 31261, Saudi Arabia
  2. Sani I. Abba — Interdisciplinary Research Centre for Membranes and Water Security, King Fahd University of Petroleum and Minerals, Dhahran, 31261, Saudi Arabia
  3. Jamilu Usman — Interdisciplinary Research Centre for Membranes and Water Security, King Fahd University of Petroleum and Minerals, Dhahran, 31261, Saudi Arabia
  4. Dahiru U. Lawal — Department of Mechanical Engineering, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia|||Interdisciplinary Research Centre for Membranes and Water Security, King Fahd University of Petroleum and Minerals, Dhahran, 31261, Saudi Arabia
  5. Isam H. Aljundi — Department of Chemical Engineering, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia|||Interdisciplinary Research Centre for Membranes and Water Security, King Fahd University of Petroleum and Minerals, Dhahran, 31261, Saudi Arabia
DOI
10.1039/d4ra02475c
저널
RSC Advances
발행년도
2024
발행기관
Royal Society of Chemistry
피인용수
6
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1039/d4ra02475c
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4399746381

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
nanofiltration (NF), reverse osmosis (RO), micropollutant removal, machine learning, membrane characteristics
판단 근거
이 논문은 나노여과(NF) 및 역삼투(RO) 분리막의 미세 오염물질 제거 효율을 머신러닝으로 예측하는 연구입니다. 이는 코오롱인더스트리의 수소연료전지용 중공사막(5) 및 방수통기용 멤브레인(18) 개발에 필요한 막 성능 예측 및 공정 최적화 원리와 기술적으로 맞닿아 있습니다.
R&D 활용 포인트
머신러닝 기반의 막 투과 및 제거 성능 예측 모델을 활용하여, 연료전지용 중공사막이나 산업용 멤브레인의 기공 크기 및 표면 특성에 따른 성능을 사전에 시뮬레이션하고 최적 설계하는 데 활용 가능합니다.
평가 입력
본문 71,304자 중 30,032자 발췌

초록

Predicting the efficacy of micropollutant separation through self-fabricated membranes is an arduous endeavor.

본문 71,304자

본문 펼치기
# RSC Advances ## PA PER Cite this: RSC Adv., 2024, 14, 19331 Received 1st April 2024 Accepted 5th June 2024 DOI: 10.1039/d4ra02475c rsc.li/rsc-advances ### Introduction ## Predicting micropollutant removal through nanopore-sized membranes using several machine-learning approaches based on feature engineering Lukka Thuyavan Yogarathinam, a Sani I. Abba, - <sup>a</sup> Jamilu Usman, <sup>a</sup> Dahiru U. Lawal <sup>ab</sup> and Isam H. Aljundi ac Predicting the efficacy of micropollutant separation through functionalized membranes is an arduous endeavor. The challenge stems from the complex interactions between the physicochemical properties of the micropollutants and the basic principles underlying membrane filtration. This study aimed to compare the effectiveness of a modest dataset on various machine learning tools (ML) tools in predicting micropollutant removal efficiency for functionalized reverse osmosis (RO) and nanofiltration (NF) membranes. The inherent attributes of both the micropollutants and the membranes are utilized as input factors. The chosen ML tools are supervised algorithm (adaptive network-based fuzzy inference system (NF), linear regression framework (linear regression (LR)), stepwise linear regression (SLR) and multivariate linear regression (MVR)), and unsupervised algorithm (support vector machine (SVM) and ensemble boosted tree (BT)). The feature engineering and parametric dependency analysis revealed that characteristics of micropollutants, such as maximum projection diameter (MaxP), minimal projection diameter (MinP), molecular weight (MW), and compound size (CS), exhibited a notably positive impact on the correlation with removal efficiency. Model combination with key variables demonstrated high prediction accuracy in both supervised and unsupervised ML for micropollutant removal efficiency. An NF-grid partitioning (NF-GP) model achieved the highest accuracy with an R <sup>2</sup> value of 0.965, accompanied by low error metrics, specifically an RMSE and MAE of 3.65. It is owed to the handling of the complex spatial and temporal aspects of micropollutant data through division into consistent subsets facilitating improved identification of rejection efficiency and relationships. The inclusion of inputs with both negative and positive correlations introduces variability, amplifies the system responsiveness, and impedes the precision of predictive models. This study identified key micropollutant properties, including MaxP, MinP, MW, and CS, as crucial factors for efficient micropollutant rejection during real-time filtration applications. It also allowed the design of pore size of self-prepared membranes for the enhanced separation of micropollutants from wastewater. Globally, the signicant escalation of micropollutants in aquatic ecosystems, attributed to both anthropogenic activities and natural disasters, is raising serious concerns. This has resulted in the diminished availability of water resources and jeopardized the provision of potable drinking water. Approximately 350 000 chemical substances are authorized for usage aInterdisciplinary Research Centre for Membranes and Water Security, King Fahd University of Petroleum and Minerals, Dhahran, 31261, Saudi Arabia. E-mail: sani. abba@kfupm.edu.sa bDepartment of Mechanical Engineering, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia cDepartment of Chemical Engineering, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia worldwide, <sup>1</sup> and concerningly, close to 100 000 of entities are detected in aquatic environments. <sup>2</sup> Micropollutants present a toxic threat to the biosphere at concentrations in the nanogram per liter range, covering a broad array of chemical entities. <sup>3</sup> The major micropollutants are pharmaceutically active compounds (PhACs), personal care products (PCPs), pesticides, herbicides, and other industrial compounds such as polycyclic aromatic hydrocarbons (PAHs) and ame retardants chemicals. <sup>4,5</sup> Such micropollutants can cause harmful effects including neurological disorders, cancer, mutations, reproductive issues, skin problems, and physical deformities. <sup>6,7</sup> Low pore size nanoltration (NF) and reverse osmosis (RO) membranes were shown to be an effective and sustainable method for eliminating micropollutants from water environments. <sup>8–10</sup> The process of eliminating micropollutants Table 1 Recent ML approach in low pore size (NF and RO) membrane separation for micropollutant removal Model Micropollutant type Input variables Optimized model prediction performance Remarks References XG-Boost-SHAP Dye, antibiotics, and per- and polyuoroalkyl substances (PFAS) MAE-6.25 To predict the micropollutant rejection efficiency R <sup>2</sup> -1.00, RMSE-0.5 To predict the micropollutant rejection efficiency R <sup>2</sup> -0.9611 To predict the micropollutant rejection efficiency RF R <sup>2</sup> -0.980, RMSE- To predict the 1.674 haloacetic acids rejection efficiency To predict the micropollutant rejection efficiency MLR, SVM, ANN, kNNRF, GBDT, XGBoost, LightGBM PhACs, volatile organic compounds, industrial chemicals and PFAS pH, MW, CC, Kow, CS, MinP, and MaxP), MWCO, MCA, MC, TC TMP, T and C0 MWCO, McGowan volume of solute (V), MW, TC, CA, overall hydrogen bond (A), basicity of solute (B), T, TMP, C0, and pH MW, MaxP, MinP, molar volume, density, diffusion coefficient, molecular radius, pKa1, pKa2, Kow, MWCO, pure water XGBoost R <sup>2</sup> -0.995, RMSE-1.674 24 25 26 28 29 30 XG-Boost-SHAP Neutral hydrophilic organic micropollutant, neutral hydrophobic micropollutant and charged micropollutant Permeability, MCA, NaCl rejection, MC, pore radius, roughness, pH, T, TMP, C0, and crossow velocity (CV) RF PhACs, disinfection MWCO, water/NaCl by-products (DBPs) selectivity, surface and industrial charge, MW, organic chemicals micropollutant charge (OMC) and Kow MLR, SVM, MLP, RF, XGBoost Haloacetic acids pH, T, MW, C0, TMP, Stokes radius (rs), CV, Kow, and ionic strength (IS) To predict the polymer rejection efficiency ANN, RF XGBoost Polymer MW, TMP, T, C0 and CS ANN R <sup>2</sup> -0.9795, RMSE-0.155 encompasses a multifaceted mechanism that includes not only the primary sieving and electrostatic repulsion but also hinges on the physicochemical characteristics of the micropollutants. Lower pore size membranes exhibit a heightened vulnerability to micropollutant fouling, attributable to synergistic effects of size-based exclusion, electrostatic interaction, and the dynamic interactions mediated by the hydrophilic or hydrophobic properties of the micropollutants in relation to the surface characteristics of the membrane. <sup>11,12</sup> This fouling phenomenon leads to a twin detriment: a decline in micropollutant removal efficiency and a reduction in overall membrane performance. Consequently, impacting the feasibility of its application on a large scale in the production of clean water. The application of modeling techniques for the prediction of membrane ux and rejection efficiency has become increasingly signicant, serving as a promising process to improve ltration efficacy and identication of key parameters. The recent emergence of machine learning (ML) has gained prominent interest in membrane separation using different techniques like classication, regression estimation clustering, principal component analysis (PCA), reinforcement learning, unsupervised learning and tting. <sup>13,14</sup> ML utilizes computational and algorithmic approaches to optimize membrane systems within high-dimensional spaces, facilitating rapid and precise predictions of the relationships between input variables, such as membrane characteristics and ltration experiments, and output variables related to separation performance. <sup>15–17</sup> ML models achieve generalization and enhance their learning processes through the iterative optimization of learning algorithms and the utilization of extensive and diverse datasets. Neural networks, decision Trees, random forests, SVM, gradient boosting machines (GBMs), ensemble algorithm and k-nearest neighbors (KNN) are the widely adopted tools in the membrane separation for wastewater treatment, desalination, organic solvent nanoltration (OSN) and gas separation. <sup>18–22</sup> In the eld of membrane science and technology, the deployment of ML techniques is critical for the prediction of vital performance metrics like ux, rejection rates, and tendencies towards fouling, despite the constraints of limited data availability. The challenges of such limited dataset approaches include diminished accuracy, generalizability, overtting risks, complex interaction identication issues, tuning difficulties, and restricted exploration of membrane system complexities. In the ltration processes targeting micropollutants, a spectrum of tailored NF and RO membranes demonstrate unique operating principles, thus contributing to the complex retention dynamics of these diminutive pollutants. These dynamics are primarily governed by the inherent physicochemical attributes of micropollutants. <sup>23</sup> Lately, the application of ML algorithms is increasingly being leveraged to rene the prediction of micropollutant behavior within NF/RO membrane systems. Jeong et al., studied the extreme gradient boosting (XGBoost) for the prediction of NF and RO membranes on micropollutant removal efficiency. <sup>24</sup> The data splitting technique was utilized to decrease data leakage and ensure accurate predictions for the dataset of 1968 instances. A dataset consists of 1968 instances with 231 types of micropollutant and 49 types of RO membrane. Featuring 231 different micropollutants and 49 varieties of NF and RO membranes. Zhu et al. evaluated a total of six ML algorithms for the dataset encompassing 2102 instances, 276 micropollutants, and 52 varieties of NF and RO membranes. <sup>25</sup> The deployed ML algorithms are MLR, articial neural network (ANN), SVM, kNN, random forest (RF), gradient boosting decision tree (GBDT), light gradient boosting model (LightGBM), and extreme gradient boosting (XGBoost). Ensemble models demonstrated superior predictive capabilities regarding the rejection rate. Additionally, the molecular weight cut-off (MWCO), the molecular weight (MW) of micropollutants, and the McGowan volume of micropollutants were identied as the key determinants in the effectiveness of micropollutant removal. Wang et al. developed a new data-knowledge co-driven model (DKD model) that employs ML strategies to enhance predictive accuracy. <sup>26</sup> XGBoost with shapley additive explanations (SHAP) was applied to a dataset comprising 2160 data points, including 227 micropollutants and 37 commercial polyamide membranes, aiming to improve model interpretability. The recent ML approach of low-pore membranes for micropollutant removal efficiency is presented in Table 1. These studies indicated that ML algorithms have proven to be effective for predicting the behavior of micropollutants within substantial datasets. Furthermore, literature predominantly focuses on commercially available membranes, incorporating input variables with diverse inuence on model performance. Variables exhibiting weaker dependencies have been demonstrated to degrade model accuracy, leading to decreased predictive power and increased model complexity. Hence, a novel approach has been proposed that leverages feature selection and model combination to enhance the prediction of micropollutant rejection efficiency in self-prepared membranes. Membrane modication has also gained prominence in the selective exclusion of micropollutants, thereby adding further intricacy to the phenomena of micropollutant rejection. <sup>27</sup> Furthermore, data on the separation efficacy of self-prepared low pore size NF and RO membranes for micropollutants are limited, and the correlations between the physicochemical properties of micropollutants and their separation outcomes remain insufficiently explored. Jeong et al. used XGBoost for modeling micropollutant removal in both commercial and selfprepared membranes, reporting MAEs between 6.25 and 19.28, indicating varying prediction accuracies. <sup>24</sup> This study aimed to study on data-driven modeling of self-prepared membranes with a feature selection on model combination and comparison of supervised algorithm, linear regression framework, and unsupervised algorithm. This study focused on data-driven ML modeling of self-prepared membranes, incorporating feature selection to analyze and compare various model combinations. It involves the comparison of performance of multiple algorithms including of supervised algorithms (adaptive networkbased fuzzy inference system (NF)), linear regression framework (linear regression (LR), stepwise linear regression (SLR) and multivariate linear regression (MVR)), and unsupervised algorithm (support vector machine (SVM)) and ensemble boosted tree (BT) on the prediction of micropollutant removal efficacy corresponding to input variables. The chosen input variables are pH of feed solution (pH), micropollutant molecular weight (MW), micropollutant compound charge (CC), micropollutant octanol–water partition coefficient (Kow), micropollutant minimal projection diameter (MinP), micropollutant maximum projection diameter (MaxP), micropollutant compound size (CS), membrane molecular weight cut off (MWCO), membrane contact angle (MCA), membrane surface charge (MC), total charge (TC), transmembrane pressure (TMP), time interval (T), and initial micropollutant concentration (C0). The distinctive aspect of the study is its method of using model combinations to analyze the impact of input variables on micropollutant removal, selecting these variables based on their correlation signicance. ### Data collection The dataset comprises 990 data points partitioned into 66 subsets, with each point containing 14 input features and a single output variable for rejection efficiency. The dataset consisted of a curated selection of self-prepared membranes derived from literature. <sup>24</sup> Data on micropollutant rejection correlating with input variables were acquired from the literature of functional NF and RO membranes. <sup>31–36</sup> The functional thin lm composite (TFC) membrane are structured with an active layer atop a support layer, where the active polyamide layer serves as the crucial intrinsic barrier for micropollutant separation. The functional self-fabricating membranes assessed for their active layer compositions encompass poly-(piperazineamide), imidazolium ionic liquid (specically, 1-aminoethyl-3methylimidazolium modied poly-(piperazine-amide)), polyethyleneimine-amide, and cellulose cross-linked regenerated cellulose cross-linked thin lm composite membranes, in addition to ceramic membranes modied with silica, titania, and zirconia. Prior to model development, the raw data was subjected to several pre-processing to remove the noise and other redundancies within the data. Data was normalized for the development of all the models using eqn (1) and subsequently, de-normalized for evaluation criteria. validation performance. It is imperative to employ rigorous validation techniques to enhance model robustness and reliability. In line with the ndings of several researchers, both internal and external validations are crucial during the model development process to ensure the models' applicability to unseen data. This research highlights the effectiveness of k-fold cross-validation in assessing the models' performance across various scenarios. Moreover, alternative validation methodologies such as the leave-one-out, holdout, and others have been effectively implemented, as demonstrated by recent studies. It is worth mentioning that noise in this context refers to any irrelevant or extraneous data points that could distort the model's predictive accuracy. This includes measurement errors, inconsistencies in data sources, and outliers that do not follow the general trend of the dataset. The study employed humaninspection and statistical visualization to identify noise. For instance, outlier detection methods such as the box-whisker y ¼ 0:05 þ - <u>x �</u> ~~<u>x</u>~~ 0:95 xmax þ xmin �� (1) where y is the normalized data. x is the measured data, �x is the mean of the measured data, xmax is the maximum value of the measured data, and xmin is the minimum value. Despite the signicant advancements in AI-driven models, they are limited by issues such as undertting or overtting, which signicantly hinder the model's performance. Overtting impairs the model's ability to generalize beyond the training data, leading to discrepancies between training outcomes and Fig. 1 Box-whisker analysis of output and input variables. analysis were used to pinpoint irregular near and far outliers' data points (Fig. 1). Furthermore, domain-specic knowledge was applied to identify and remove data points that were deemed inconsistent with expected membrane performance metrics. Similarly, redundant elimination data points, such as duplicate entries or highly correlated variables, were checked, identied, and removed. ### Proposed methodology Linear regression (LR) LR is a statistical technique used to model the relationship between a dependent variable and one or more independent variables using a linear equation applied to observed data. The micropollutant removal efficiency is represented by the dependent variable (y), while the independent variables (x) function as predictors. The regression coefficients (b) function as weights for x, representing micropollutant properties, membrane properties, and experimental conditions. They signify the anticipated variation in y, which denotes micropollutant removal efficiency, in response to a unit change in x while holding other variables constant. y = b0 + b1x1 + 3 (2) where 3 is the error function. LR relies on four critical assumptions: the presence of a linear relationship between the dependent and independent variables, independence of observations, homoscedasticity, and normal distribution of error terms, which ensures the reliability of statistical inferences. <sup>37</sup> LR is commonly employed for predicting patterns, assessing the strength of predictors, and elucidating relationships between variables. Stepwise linear regression (SLR) SLR automates the selection of predictive variables for regression models, iteratively adding or removing variables based on their statistical signicance and criteria like p-values or information criteria such as Akaike Information Criterion (AIC) or Bayesian Information Criterion (BIC). This method simplies model building by systematically evaluating each variable's contribution and ensuring only statistically relevant predictors are included while balancing complexity and interpretability to mitigate potential overtting. It employs forward selection, backward elimination, or hybrid approaches to dynamically adjust the model, continuously evaluating t to ensure improvements and balance between t and complexity. The general equation formulation for predicting micropollutant removal efficiency (y) through SLR entails constructing a linear association with a collection of independent variables (x1, x2, x3). This equation can be expressed as: y = b0 + b1x1 + b2x2 + b3x3 + 3 (3) SLR relies on fundamental assumptions such as a linear relationship between dependent and independent variables, absence of perfect multicollinearity, homoscedasticity, and normally distributed errors. <sup>38</sup> The selection criteria for variables need to accurately reect their contribution to the model, avoiding bias or overtting. Ultimately, SLR aims to identify a concise model that incorporates the most pertinent predictors while mitigating overtting and ensuring both precision and conciseness in the nal model. Multivariate linear regression (MLR) MLR is a statistical technique used to analyze the relationship between multiple independent variables and a single dependent variable. MLR relies on key assumptions such as linearity between dependent and independent variables, independence of errors, homoscedasticity ensuring consistent error variance, normality of error distribution aiding accurate estimation, and absence of multicollinearity to maintain model interpretability. The coefficients in MLR represent the relationship between each independent variable and the dependent variable, with the error term representing the discrepancy between observed and predicted values of the dependent variable. <sup>39</sup> The goal of MLR is to minimize the sum of squared errors to produce the best-tting model explaining the relationship between independent variables and Scheme 1 Schematic of SVM, BT and NF model structure. the dependent variable, enabling analysis of intricate datasets for deeper insights into factors impacting the dependent variable. The general equation formulation for predicting micropollutant removal efficiency (y) via MLR entails creating a linear relationship with a group of independent variables (x1, x2, ., xn). This equation can be articulated as: y = b0 + b1x1 + b2x2 + b3x3.bnxn + 3 (4) Support vector machine (SVM) SVM models are robust supervised learning algorithms utilized for classication and regression tasks. Their operation involves identifying an optimal hyperplane to separate distinct classes within the dataset, maximizing the margin between this hyperplane and the nearest data points termed support vectors. SVMs demonstrate efficacy particularly in high-dimensional datasets, even when dimensions exceed the number of data points. Leveraging the kernel trick, SVMs adeptly address nonlinear data by transforming it into higher-dimensional spaces conducive to linear separation. <sup>40</sup> Furthermore, SVMs showcase memory efficiency by employing only a subset of training data (support vectors) for prediction. Nonetheless, they come with trade-offs, such as computational complexity in optimizing the hyperplane for sizable datasets and the necessity for careful selection of kernel functions for non-linear data, oen necessitating experimentation. Scheme 1 shows the SVM model structure for micropollutant RR(%).The training set consists of the regression vector representing micropollutant properties, membrane properties, and experimental conditions in the input space (x1, x2, ., xn), along with their corresponding output space of micropollutant removal efficiency (y1, y2, ., yn).The mapping function (4x) transforms the input data into a higher-dimensional feature space, denoted as follows: <sup>41</sup> y = f(x) = u4x + b (5) where u and b are the weight vector and bias, respectively. The regression function associated with Lagrange multipliers (ai, a <sup>*</sup> i <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>kernel</sup> <sup>function</sup> <sup>(K(x,xi))</sup> <sup>for</sup> <sup>constrained</sup> <sup>optimiza-</sup> tion problems are expressed as follows: a robust predictive model via ensemble learning. Unlike standalone decision trees, BT iteratively generate a sequence of trees, with each subsequent tree rectifying errors from its predecessors. This iterative process emphasizes misclassied or inadequately predicted data points, diminishing model bias and bolstering overall accuracy. By amalgamating predictions from multiple trees, BT adeptly capture intricate data patterns, making them effective for regression and classication tasks. Despite their efficacy, they may be susceptible to overtting if not nely tuned, and training may be computationally demanding compared to simpler models. Nonetheless, BT remain widely employed due to their resilience and exceptional predictive capabilities across diverse domains. The process involves sequentially tting decision trees to the residuals of prior trees, with each tree aiming to rectify errors from its predecessors. Model representation entails aggregating these trees into a single predictive model, where each tree contributes by assigning a weight to its output. The nal prediction results from combining the outputs of all trees, forming an ensemble model where each tree's contribution depends on its ability to reduce overall prediction error. The schematic of BT model structure for micropollutant RR(%) is shown in Scheme 1. The BT regression equation for predicting micropollutant removal efficiency (y) based on input variable (x) is dened by the ith weight (ai), the ith prediction (hi), and the total number of trees (M). It can be presented as follows: <sup>42</sup> y ¼ f ðxÞ ¼ XM ðaihiÞðxiÞ (7) i¼1 Adaptive network-based fuzzy inference system (NF) The Neuro-Fuzzy (NF) approach combines neural networks learning capabilities with the human-like reasoning of fuzzy inference systems. In NF systems, fuzzication maps discrete inputs to fuzzy sets, followed by the application of fuzzy rules in the inference layer and defuzzication to convert fuzzy outputs to precise values. <sup>43</sup> Output function of input layer Oi 1 = mAi(x) (8) Output function of fuzzification layer Of 2 = wi = mAi(x) × mBi(y) (9) Output function of normalization layer On Output function of defuzzification layer Odf 3 ¼ ~~w~~ i ¼ <u>wi</u> W1 þ W2 (10) 4 ¼ ~~w~~ ifi f ðxÞ ¼ Xn ai � a <sup>*</sup> i i Kðx; xiÞ þ b (6) i¼1 SVMs operate on several assumptions, including the need for scaled features to prevent dominance by any single feature and reliance on clean, representative data free from signicant errors or outliers. They are primarily designed for binary classication tasks, although extensions exist for multi-class scenarios, and in the absence of a specied kernel, SVMs default to assuming a linear decision boundary. Boosted trees (BT) BT, also known as gradient boosting machines, amalgamate numerous weak learners, typically decision trees, to construct ¼ ~~w~~ iðpix þ qiy þ riÞ (11) P wifi ~~P~~ <u>i</u> i Cumulative output layer Oic <u>X</u> 5 ¼ ~~w~~ if ¼ i <u>i</u> wi (12) Scheme 1 shows the NF model structure for micropollutant RR(%). In the NF architecture, the backpropagation algorithm precisely adjusts the membership function parameters within the neural network layer to optimize the input-to-fuzzy-value mapping. Simultaneously, the least-squares estimation (LSE) method renes the consequent parameters of fuzzy logic rules for optimal parameter estimation in the output stage. This procedural sequence enables NF systems to efficiently adapt and ne-tune parameters, making them procient in simulating and navigating intricate, non-linear dynamics. NF requires data to train its fuzzy membership functions and rules, with more complexity demanding more data for effective learning. It strikes a balance between interpretability and accuracy, although prioritizing interpretability may require limiting model complexity, potentially affecting accuracy. ### Evaluation criteria The evaluation of ML algorithm predictive accuracy for micropollutant removal efficiency encompasses the use of various statistical and error metrics. It includes measures such as correlation coefficient (R), determination coefficient (R <sup>2</sup> ), mean squared error (MSE), mean absolute error (MAE), and root mean squared error (RMSE). The metrics are computed utilizing the observed data (Y(o)), predicted Y(p) dataset with a total number of data points (N). They are expressed through the following equations. - �2 Y ðoÞ � Y ðpÞ R <sup>2</sup> ¼ 1 � PN <u>i¼1</u> PN i¼1 ~~�~~ Y ðoÞ � Y ~~�~~ 2 (13) 0 ðpÞ h �2 <sup>~~h~~</sup> Þ Y^ ðpÞ;i � Y~ ðpÞ Y ðoÞ;i � YðoÞ ih i Y^ ðpÞ;i � Y~ ðpÞ R ¼ PN i¼1 PN <u>i¼1</u> calibrated using the training data to ensure they could accurately learn the underlying patterns. Once calibrated, the trained models were applied to the testing data to validate their predictive capabilities and to ne-tune the parameters further. For the NF modeling, we explored different types of membership functions (MFs) through an iterative trial and error process. This involved testing various MF types and adjusting epoch iterations to nd the best conguration for the NF model. Each structure's performance was assessed to ensure that the chosen conguration provided the most accurate predictions. For the SVM models, we investigated different structural congurations for all possible input combinations. To achieve the highest accuracy in the SVM models, it was essential to determine the optimal values for the C and g parameters, which control the trade-off between achieving a low training error and a low testing error, and the kernel's inuence, respectively. We employed the grid search method, a systematic approach that involves searching through a manually specied subset of the hyperparameter space of the learning algorithm, to identify the optimal parameter values. This comprehensive approach to parameter tuning, involving trial and error for NF and grid search for SVM, ensures that the models are robust, accurate, and well-suited to the data. Each step, from model calibration to parameter optimization, is crucial in developing predictive models that can generalize well to unseen data, providing reliable and accurate predictions. The procedure was applied to other employed models employed in this study. The predictive ML algorithm analysis of micropollutant rejection rate involves the feature selection and data distribution examination across 14 input variables and 6 model congurations. Additionally, it involves evaluating the predictive performance of 7 ML algorithms and comparing the superior algorithm's effectiveness in prediction. The perfect model demonstrates the highest prediction accuracy while exhibiting minimal error metrics. Comprehending the impact of dataset features and model architecture on predictive performance is crucial for a thorough evaluation in ML algorithm. Table 2 shows the accuracy and error metrics of predictive NF-GP, NFSC, LR, SLR, MVR, SVM and BT ML algorithm on micropollutant removal rate. Sparse dataset modeling is greatly affected by variations in distributions, noise levels, and patterns, as well as differences in model complexity, assumptions, and algorithms. Feature selection is crucial for enhancing prediction accuracy in small datasets, as informative features are meticulously chosen to mitigate noise and prioritize impactful variables, improving model performance despite data scarcity challenges. A convenient and effective modeling strategy of feature selection combined ML algorithm approach for the efficient predicting micropollutant removal rates. Analysis of feature selection and data distribution The proposed ML algorithm tools were aimed to evaluate the impact of various input variables, such as properties of micropollutant, membrane specications, and experimental parameters, precisely predicting the target variable as removal rate (RR) (%). The chosen 14 input variables are properties of ~~i~~ 2 (14) YðoÞ;i � Y ðoÞ PN ��YðpÞ � Y ðoÞ�� MAE ¼ MSE ¼ <sup>1</sup> N <u>i¼1</u> XN i¼1 (15) N Y ðpÞ � Y ðoÞ (16) f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f �� Y ðpÞ � Y ðoÞ XN i¼1 RMSE ¼ vf f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f uu 1 XN �� ��2 <u>t</u> Y ðpÞ � Y ðoÞ ‘ (17) 1 N ### Results and discussion In this study, the models such as NF-GP, NF-SC SVM, BT, LR, and SLR were implemented using the MATLAB 2023b (R2023b) predictive toolbox while the MVR was used in Microso Data toolbox. Similar to other data-driven algorithms, the optimal parameters for NF, SVM, and BT were identied through a series of trial-and-error methods. These methods involve hyper-parameter tuning and evaluating the model's performance to nd the best combination. The models were initially Table 2 Evaluating statistical indicators and error metrics for ML algorithms predicting micropollutant rejection rates (%) Calibration phase Verication phase Models R <sup>2</sup> R MSE RMSE MAE R <sup>2</sup> R MSE RMSE MAE NF-GP-C1 0.916 0.957 31.563 5.618 0.544 0.649 0.806 27.522 5.246 0.544 NF-SC-C1 0.950 0.975 18.860 4.343 0.044 0.872 0.934 10.003 3.163 0.044 NF-GP-C2 0.932 0.965 25.754 5.075 0.003 0.731 0.855 21.119 4.596 0.003 NF-SC-C2 0.945 0.972 20.950 4.577 0.259 0.766 0.875 18.372 4.286 0.259 NF-GP-C3 0.229 0.479 291.074 17.061 0.434 0.825 0.909 13.683 3.699 0.434 NF-SC-C3 0.225 0.475 292.514 17.103 0.499 0.842 0.917 12.406 3.522 0.499 NF-GP-C4 0.932 0.965 25.664 5.066 0.703 0.667 0.817 26.126 5.111 0.703 NF-SC-C4 0.947 0.973 19.850 4.455 0.561 0.673 0.820 25.656 5.065 0.558 NF-GP-C5 0.965 0.982 13.328 3.651 0.217 0.910 0.954 7.041 2.653 0.217 NF-SC-C5 0.965 0.982 13.398 3.660 0.193 0.910 0.954 7.089 2.663 0.193 NF-GP-C6 0.219 0.468 295.070 17.178 0.581 0.639 0.799 28.329 5.323 0.581 NF-SC-C6 0.227 0.477 291.898 17.085 0.497 0.860 0.927 10.988 3.315 0.526 LR-C1 0.612 0.783 146.418 12.100 1.630 0.553 0.744 92.958 9.641 1.630 LR-C2 0.470 0.686 199.983 14.142 0.325 0.342 0.585 97.386 9.868 0.325 LR-C3 0.130 0.361 328.574 18.127 1.493 0.132 0.364 68.047 8.249 1.493 LR-C4 0.215 0.464 296.303 17.213 3.659 0.437 0.661 123.578 11.117 3.659 LR-C5 0.940 0.970 22.507 4.744 0.005 0.762 0.873 18.637 4.317 0.005 LR-C6 0.171 0.413 313.242 17.699 0.828 0.287 0.535 40.273 6.346 0.828 SLR-C1 0.833 0.913 63.028 7.939 1.134 0.751 0.867 47.636 6.902 1.134 SLR-C2 0.939 0.969 23.204 4.817 0.198 0.739 0.860 20.471 4.525 0.198 SLR-C3 0.133 0.365 327.443 18.095 2.039 0.105 0.324 78.485 8.859 2.039 SLR-C4 0.137 0.371 386.269 19.654 2.933 0.126 0.355 98.966 9.948 2.933 SLR-C5 0.929 0.964 26.810 5.178 0.613 0.711 0.843 22.631 4.757 0.613 SLR-C6 0.133 0.365 327.443 18.095 2.039 0.148 0.385 78.485 8.859 2.039 MVR-C1 0.636 0.797 137.621 11.731 1.262 0.567 0.753 91.499 9.566 1.262 MVR-C2 0.494 0.703 190.981 13.820 0.097 0.337 0.580 97.733 9.886 0.097 MVR-C3 0.186 0.431 307.358 17.532 1.591 0.182 0.426 64.163 8.010 1.591 MVR-C4 0.220 0.469 294.653 17.165 3.705 0.188 0.434 122.460 11.066 3.705 MVR-C5 0.735 0.857 100.156 10.008 0.993 0.563 0.750 104.227 10.209 0.993 MVR-C6 0.165 0.407 315.239 17.755 2.243 0.142 0.377 78.081 8.836 2.243 SVM-C1 0.856 0.925 54.459 7.380 0.458 0.696 0.834 23.830 4.882 0.585 SVM-C2 0.923 0.961 29.220 5.406 0.201 0.726 0.852 21.521 4.639 0.281 SVM-C3 0.157 0.397 474.849 21.791 10.545 0.135 0.367 67.833 8.236 0.850 SVM-C4 0.914 0.956 32.633 5.713 1.291 0.648 0.805 27.572 5.251 0.259 SVM-C5 0.919 0.959 30.609 5.533 0.166 0.745 0.863 20.008 4.473 0.542 SVM-C6 0.156 0.395 459.096 21.427 11.289 0.270 0.520 57.216 7.564 0.787 BT-C1 0.901 0.949 37.470 6.121 3.422 0.659 0.812 26.768 5.174 1.284 BT-C2 0.907 0.952 35.291 5.941 2.824 0.654 0.808 27.163 5.212 1.882 BT-C3 0.175 0.418 311.623 17.653 2.480 0.205 0.452 51.297 7.162 2.227 BT-C4 0.880 0.938 45.240 6.726 2.499 0.577 0.759 48.869 6.991 2.208 BT-C5 0.909 0.954 34.295 5.856 3.106 0.772 0.879 17.891 4.230 1.600 BT-C6 0.169 0.411 313.848 17.716 2.573 0.135 0.367 50.927 7.136 2.133 micropollutant (pH, MW, CC, Kow, CS, MinP, and MaxP), functionalized membrane (MWCO, MCA, MC, TC) and experimental parameters (TMP, T and C0). The deployed ML tools are NF, LR, SLR, MVR, SVM and BT. Fig. 2 shows the parametric dependency analysis between the 14 input variables and rate of micropollutant removal. The model congurations are classied according to the hierarchical value of the correlation between the input variable and the targeted micropollutant removal rate (%). It is important to note that model selection is a crucial step in building a predictive model, as it ensures that the selected features signicantly contribute to the accuracy and reliability of the predictions. By carefully analyzing the dependency between various variables and the target variable (RR), we can identify and prioritize those that have the most substantial impact. The study approach involved categorizing the variables into different classes (C1 to C6) based on their correlation strength with RR. For instance, C1 (MaxP, CS, RR), C2 (MW, MinP, RR), C3 (pH, CC, MC, TC, Time, RR), C4 (Kow, MWCO, MCA, TMP, Co, RR), C5 (MaxP, CS, MW, MinP, RR), C6 (pH, TC, TMP, Time, RR). In C1, we used variables with strong direct positive correlations with RR, ranging between 60–80%, such as CS (0.626), MaxP (0.711), and MW (0.599). For C2, we selected moderate direct positive variables with correlations ranging between 20-40%, including MinP (0.455) and Co (0.186). C3 included both direct and indirect variables with correlations between 50-60%, such as CC (0.317) and MC (0.208). In C4, we considered both direct and indirect variables with correlations ranging between 10-20%, including MCA Fig. 2 Correlation analysis of input variables on micropollutant rejection rate. (−0.118), TMP (−0.199), and time (−0.226). For C5, we focused on the strongest positive variables overall, ensuring they signicantly impact the prediction, such as CS and MaxP. Finally, in C6, we included the strongest negative variables to understand their adverse impact on RR, such as pH (−0.346) and TC (−0.243). This systematic and detailed approach to model selection ensures that our predictive model for rejection rate (RR) is robust, reliable, and highly accurate (Fig. 2). The reasons behind the specic parameter choices for our model selection are established in their dependency strengths with the target variable (RR) and their potential impact on the model's predictive power. The study included parameters with strong direct positive correlations because they signicantly improve rejection rate predictions. Moderate direct positive variables were selected for their positive but less signicant contributions. Both direct and indirect variables help capture the relationship between compound characteristics and rejection rate. Similarly, the variables with smaller correlations for a comprehensive model. The strongest positive variables were chosen for their consistently high correlations with RR. Furthermore, this study also considered the strongest negative variables to understand their adverse impacts on RR. This systematic approach ensures that our predictive model for RR is robust, reliable, and highly accurate. As seen in Fig. 3, MaxP demonstrated a robust correlation, quantied as 0.711, with the removal rate (%) of micropollutants, specically under the model conguration (C1) that accounted for the highest inuence, spanning from 70% to 60%. Table 3 shows the statistical features of data distribution of input and out variables. The additional signicant variable, CS, displayed a low standard deviation (SD) of 0.109, with its data extending from 0.438 to 0.798 Å. For the conguration C2, where the correlation of input variables like MinP and MW ranged between 40–50%, Mw displayed the highest correlation with the rejection rate (%). The distribution of Mw data ranged from 179 to 733 g mol <sup>−1</sup>, exhibiting a higher SD and modest skewness value of 145.495 and 0.969, respectively. The correlation and feature engineering indicated that the micropollutant properties such as MaxP, MinP, MW and CS are signicant control in the RO and NF membranes. This mechanism was due to the MW and CS are dominant in the size exclusion phenomena and other MaxP and MinP corresponds to the adsorption of micropollutant on the membrane surface. The effectiveness of size exclusion in ltering micropollutants is largely determined by their MW and CS, which dictate the retention of micropollutant in low pore size NF and RO membranes. In contrast, the adsorption process, where micropollutants bind to the membrane surface, is signicantly inuenced by their MaxP and potentially MinP, highlighting the physical properties impact the separation process. The subsequent conguration, C3, incorporates variables such as pH, CC, MC, TC, and time interval, which all fall within a 20–30% correlation range with respect to the targeted removal rate percentage. pH, T and TC had inverse relationship with micropollutant rejection rate (%). Within the input variables of conguration C3, the range between the maximum and Fig. 3 Parametric dependency analysis of input variables on micropollutant rejection rate. minimum values is notably wider for the T, covering from 1440 to 10 minutes. The distribution of MC and TC data closely aligned within the range of −1 to 1.032, with a lower skewness observed for both pH and TC. It was crucial to note that key parameters, including Kow, MWCO, MCA, TMP, and C0, exhibited minimal correlation dependency, ranging from 10– 20%, with the target dataset within the C4 combination. The TMP showed the greatest standard deviation, recorded at 169.586, and an inverse correlation with the targeted output response was noted for TMP, along with Kow and MCA. These combinations suggest that the datasets are intricate, displaying complex and non-linear correlations with the micropollutant rejection rate (%). Therefore, meticulous attention is required in the selection of input variables for effective modeling to prevent data leakage. Consequently, the four foremost input variables demonstrating either positive or negative correlations were systematically segregated into two distinct groups, combinations C5 and C6. This stratication was executed to scrutinize their respective inuences on the accuracy of predicting the targeted response for micropollutant removal. The four primary input variables exhibiting signicant positive correlations in combination C5 include MaxP, MinP, MW, and CS. It revealed that the micropollutant properties such as MaxP, MinP, MW, and CS are meticulously considered into account for the real-time ltration application. This study also enables the design of self-fabricated membranes with optimized pore sizes for improved separation of micropollutants from wastewater. Performance evaluation of predictive ML algorithm: error metrics and accuracy Fig. 4 illustrates the comparative analysis of MAE and RSME data for the predictive NF, LR, SLR, MVR, SVM and BT models evaluated on calibration and verication datasets for combinations C1 through C6. As seen in Fig. 4a and b, MAE does not have much deviation in both the NF grid partition (NF-GP) and subtractive clustering (NF-SC) for the combination C1 to C6. It indicated that both grid partition (GP) and subtractive clustering (SC) methods held similarly minor prediction errors of micropollutant removal rate (%). Among the combination in NF, NF-GP-C4 exhibit highest MAE value (0.703) and predominant with NF-GP-C1 (0.544), NF-SC-C4 (0.561), and NF-GP-C6 (0.860). In RMSE, the deviation was observed in data mining and segmentation strategies of GP and SC notably in the C3 and C6. The deviation in verication and calibration phase was due to the data distribution and descriptive statistics. In GP, the dataset is segmented into a uniform grid of hypercubes, leading to variations in data distribution representation. Conversely, SC delineates clusters based on the density of data points, yielding enhanced distinctions and more precise predictive outcomes. GP divides the data space into a grid of hypercubes, assigning data points to these cubes, which can lead to a uniform treatment of the data space regardless of the density of points. This method may not always capture the nuances in data distribution, potentially affecting the precision of predictions and, consequently, the MAE and RMSE values. In contrast, SC identies cluster centers based on the density of data points, which can result in a more nuanced and potentially more accurate modeling of data relationships, impacting the MAE and RMSE values differently. Another, RMSE connes the identication of large errors in the predictive model dataset. The NF-GP-C5 and NF-SC-C5 exhibited notably lower MAE values of 0.217 and 0.193, respectively, accompanied by minimal RMSE values of 3.651 and 3.660. In comparison to neural fuzzy models, the MAE and RMSE values were higher in LR frameworks across all the combinations except C5. It was imperative to observe that MAE has no deviation in both calibration and verication phase for the LR framework of LR, SLR and MLR (Fig. 4c–h). In LR framework (LR, SLR and MLR), C4 displayed the maximum MAE value owed to the predictive rejection rate (%) for the input variables (Kow, MWCO, MCA, TMP and Co). Combination C4 emerged from a correlation Table 3 Impact of descriptive statistics and subset data of input variables for micropollutant removal rate Variables Mean SD Skewness Minimum Maximum Subset data pH 7.09 1.12 −2.42 2.5 8.1 Experimental data source, <sup>24</sup> total data MW 400.15 145.5 0.97 179.22 733.94 instances: 990, data characteristics: 15 CC −0.38 0.76 0.77 −1 1.03 variables (14 inputs and 1 output), type of Kow 1.5 2.86 −0.98 −6.3 4.49 membrane: dual layer hollow ber TFC MinP 4.47 1.09 1 3.45 6.83 membrane, <sup>31</sup> crosslinked cellulose TFC MaxP 6.8 1.36 0.33 4.81 9.32 membrane, <sup>32</sup> poly(piperazine-amide) MWCO 422.84 49.94 −0.24 300 522 TFC membrane, <sup>33</sup> ceramic NF MCA 40.79 9.05 −0.83 11 65.9 membrane, <sup>34</sup> imidazolium ionic liquid MC −0.67 0.75 1.86 −1 1 plugged poly(piperazine-amide) TFC TC 0.41 0.75 −0.83 −1 1.03 membrane <sup>35</sup> and zwitterionic TMP 639.34 169.59 1.41 400 1000 poly(amino piperazine-amide) Time 218.52 412.33 2.02 10 1440 membrane <sup>36</sup> Co 86.92 219.44 3.7 0.02 1000 CS 0.55 0.11 1.05 0.43 0.8 RR 78.26 18.65 −0.61 46.33 100 signicance range of 10–20% among input variables, indicating a relatively minor impact. This pattern of LR approaches had good agreement with above NF-GP model. The other combination ranking based on MAE varied with one another in LR approaches. The observed pattern can be attributed to the fact that LR relies on assumption of linearity between variables, SLR operates through an automated process of iterative forward selection and backward elimination and MLR characterized by its reliance on multiple dependent variables. In evaluating regression models, the lowest MAE of 0.005 was found in the model LR-C5. However, this model also exhibited a high RMSE of 4.744, indicating the inuence of outliers or signicant errors. Generally, MAE values exceeded one across most congurations in LR, SLR, and MLR, suggesting suboptimal performance in these models. Moreover, the RSME value showed signicant deviation in the verication and calibration phase in LR approaches (LR, SLR and MLR). The discrepancy in RMSE and MAE metrics across verication and calibration datasets underscores the predictive model's challenges in generalizing to unseen data and adapting to variations in data distribution. RMSE exhibits heightened sensitivity to substantial errors, a result of its methodology of squaring the deviations between predicted and actual values prior to averaging them. This sensitivity enabled the identication of signicantly divergent values are exist in the testing dataset. Compared to LR frameworks, SVM exhibited lower MAE and RMSE values for all combinations except for C3, which had MAE and RMSE values of 10.545 and 21.791, respectively, and C6, which had values of 11.289 and 21.427, during the verication phase (Fig. 4i and j). The minimal error metric was due to the SVM utilizing the kernel function and its parameters to identify the optimal hyperplane that separates different classes in the feature space. The regularization term critically inuences the attainment of an optimal solution through error minimization, harmonizing the model's intricacy with its capacity to generalize across unseen data. In BT model, calibration shower higher MAE than calibration across all combinations (Fig. 4k and l). It revealed that during the calibration phase, the BT model was not adequately rened and instead became overly tailored to the specics of the training data, leading to a decrease in its ability to data generalization. Among the combinations, C5 displayed an advantageous result in both MAE and RMSE across each distinct model, including NF-GP-C5, NF-SC-C5, LR-C5, MVR-C5, and BT-C5. The combination C5 positively correlates with input variables including MaxP, CS, MW and MinP. This study also indicates that data splitting and data leaking have potential effect with combinations. The error metrics of the predictive model indicated model combinations had wider inuence in data generalization and optimal solution for prediction accuracy. This independent model examination unequivocally demonstrates the complexity inherent within the datasets, highlighting the specic combinations signicantly inuence the error metrics associated with predicting micropollutant rejection rates. Fig. 5 presents a comparison using a Taylor plot of the correlation coefficients (R) for various predictive models including NF-GP, NF-SC, LR, SLR, MVR, SVM and BT across six combination C1 to C6. As seen in Fig. 5f, NF-GP and NF-SC models showed a linear relationship with superior correlation coefficient for the C1, C2, C4 and C5. For the C5 combination, both the NF-GP and NF-SC models achieved R of 0.982, indicating a very high degree of linear correlation between predicted and observed values. However, the performance was lower in the C6. The reduced linear correlation for C3 and C6 in the GP and SC models suggests a limitation within these models to discern the intricate patterns in the input variables of C3 (pH, CC, MC, and TC) and C6 (pH, CC, TMP, and time). Among a total of 12 model combinations evaluated in NF, 8 displayed a close linear relationship in comparison with the NF-GP and NF-SC models. The enhancement in correlation coefficient can be attributed to the GP model's efficient organization of the dataset, focusing on localized patterns within individual grid cells, alongside the SC model's precise identication of cluster centers through subtractive clustering. It reveals a potential challenge in effectively modeling the complexity inherent in these specic pH and TC combinations. For the C5 Fig. 4 Comparison of MAE and RMSE data for predictive ML models assessed on calibration and verification datasets across six combinations. (a and b) MAE and RMSE assessments for the NF-GP and NF-SC models prediction; (c and d) MAE and RMSE for the LR model predictions; (e and f) MAE and RMSE for the SLR model predictions; (g and h) MAE and RMSE for the MVR model predictions; (i and j) MAE and RMSE for the SVM model predictions; and (k and l) MAE and RMSE for the BT model predictions during both calibration and verification phases. Fig. 5 Taylor plot illustrating the correlation coefficients (R) for different predictive ML models across six combinations. (a) R evaluation for the MVR model prediction; (b) R for the LR model predictions; (c) R for the BT model predictions; (d) R for the SVM model predictions; (e) R for the SLR model predictions; and (f) R for the NF-GP and NF-SC models predictions. combination, both the NF-GP and NF-SC models achieved R of 0.982, indicating a very high degree of linear correlation between predicted and observed values. However, the performance was lower in the C6. A similar pattern was noted, though with slightly decreased correlation coefficients, in both the SVM and BT models Fig. 5c and d. The SVM excels in classication and regression tasks within high-dimensional contexts, adeptly managing complex input variables even when features outnumber samples. In the SVM model, the C5 combination showed a strong R of 0.959 with lower error metrics than other combinations in both verication and calibration phase, indicating efficient predictive accuracy. This makes SVM highly effective for elucidating the complex dynamics between input variables and micropollutant removal rates. Meanwhile, BT stand out for their capacity to reduce bias and variance, enhancing predictive precision, notably in linking complex inputs to micropollutant removal efficiency. C5 combination achieved a correlation coefficient (R) of 0.954, indicating a very high degree of linear correlation between the predicted and observed values in BT model. In the LR framework, models demonstrated linear correlations with the data combinations of C1, C2, and C5. The improved outcomes can be attributed to the distinct capabilities of each modeling approach: LR accurately depicted the dependent variable's variation via linear correlations with independent variables (Fig. 5b). SLR pinpointed critical subset of predictors affecting the dependent variable Fig. 6 Radar chart illustrating the comparison of coefficient of determination (R <sup>2</sup> ) across six distinct combinations for various predictive models. (a and b) R <sup>2</sup> assessments for the LR model prediction; (c and d) R <sup>2</sup> for the MVR model predictions; (e and f) R <sup>2</sup> for the SLR model predictions; (g and h) R <sup>2</sup> for the BT model predictions; (i and j) R <sup>2</sup> for the SVM model predictions; and (k and l) R <sup>2</sup> for the NF-GP and NF-SC models prediction predictions during both calibration and verification phases. (Fig. 5e). In contrast, MLR comprehensively explored the dependent variable's linear relationships by including several independent variables (Fig. 5a). Among the LR framework, the L5-C5 combination showed the highest R (0.970), indicating strong predictive performance, followed by SLR-C2 (0.969). Conversely, MVR-C5 displayed a lower R value of 0.857. Other combinations, specically C3 and C6, also exhibited lower R values, suggesting weaker predictive capabilities. Fig. 6 presents a radar chart depicting the coefficient of determination (R <sup>2</sup> ) for a range of predictive models including NF-GP, NF-SC, LR, SLR, MVR, SVM and BT evaluated across six distinct combinations C1 to C6. As seen in Fig. 6(a–f), a consistent pattern of lesser R <sup>2</sup> value dispersion was observed for the LR paradigm of LR, SLR and MVR across data combinations C1 to C6. Among the combinations, C5 exhibited an enhanced coefficient of determination (R <sup>2</sup> ) of 0.94, 0.93 and 0.74 in the LR models of LR, SLR and MVR, respectively. The diminished R <sup>2</sup> values observed for other combinations may result from the intrinsic linear assumption within regression models (LR, SLR and MVR), which might prove inadequate for datasets characterized by complex, multidimensional constructs, and substantial data variability. Consequently, this limitation can impede the effective detection of the underlying patterns within the data. Enhanced predictive accuracy was noted for SVM and BT models in congurations C1, C2, C4, and C5, with R-squared values ranging from 0.856 to 0.923 for SVM and 0.880 to 0.909 for BT (Fig. 6(g–j)). The enhanced predictive accuracy of SVM and BT models, in comparison to conventional LR framework (LR, SLR and MVR), is primarily due to their ability to model non-linear relationships. SVM achieves this through the application of kernel functions, allowing for the accommodation of non-linear data patterns, while BT, leveraging its ensemble learning approach, signicantly improves data generalization. Another reason is SVM and BT model incorporate strategies to mitigate overtting; SVM utilizes regularization parameters to rene the margins, whereas BT employs boosting and bagging techniques to regulate tree depth. It was imperative to observe that NF models demonstrated signicantly improved prediction accuracy relative to other models for combinations C1, C2, C4, and C5 (Fig. 6k and l). The R-squared value of 0.965 for both NF Fig. 7 Comparison of micropollutant rejection rate (%) data response alongside a scatter plot illustrating the performance of the superior predictive models NF-GP-5 (a and b), LR-C5 (c and d), SLR-C2 (e and f), MVR-C5 (g and h), SVM-C2 (i and j) and BT-C5 (k and l). GP-C5 and NF-SC-C5 indicates a high predictive accuracy, with these models explaining a substantial proportion of the variance in the dependent variable. The improved prediction accuracy was due to the intrinsic structure of NF models is specically designed to address data uncertainty, utilizing the adjustment of fuzzy rules and membership functions to achieve a higher degree of model exibility. Through employing grid partitioning and subtractive clustering, NF models excel in the reduction of dimensionality, effectively isolating vital clusters in smaller datasets. The lower R <sup>2</sup> for the C6 combination across all ML models indicate that these models were less effective at explaining the variance in this conguration. Comparative analysis of predictive ML algorithm Fig. 7 shows the comparison of micropollutant rejection rate (%) data response and scatter plot for the superior predictive model of NF-GP-C5, LR-C5, SLR-C2, MVR-C5, SVM-C2 and BTC5. From Fig. 7(a and b), the predictive model NF-GP-C5 demonstrated a high degree of t in the data response plot, achieving an optimal R-squared (R <sup>2</sup> ) value of 0.965 for the prediction of micropollutant rejection rate (%) under calibration phase. The scatter plot further substantiates this observation, with data points uniformly distributed along the line of agreement between observed and predicted values, underscoring the model's predictive precision. Similarly, the predictive models LR-C5 and SLR-C2 demonstrated a good level of agreement with the experimental data, as evidenced by their data response and scatter plot analyses (Fig. 7c–f). In the LR approaches, the models LR-C5, SLR-C2, and MVR-5 exhibited Rsquared (R <sup>2</sup> ) values of 0.940, 0.939, and 0.735, respectively. LRC5 and SLR-C2 indicated that the model had linear correlation with the input variables of combination C5 and C2, respectively. The enhanced R <sup>2</sup> metrics in LR and SLR are attributable to their focus on maintaining simplicity and clarity within the model framework, consequently leading to improvements in the precision of predictions. The SVM-C2 model exhibited an R <sup>2</sup> of 0.923, showcasing substantial predictive precision (Fig. 7i and j). However, data points are clustered at the upper and lower boundaries of the dataset, suggesting potential limitations in the model's ability to uniformly predict across the entire range of data. This observed pattern in the SVM model can be attributed to inadequate generalization arising from its treatment of data points in proximity to the decision boundary. The BT-C5 model exhibited a minor deviation in data response yet demonstrated a commendable t, reected by an R <sup>2</sup> value of 0.909 (Fig. 7k and l). The scatter plot further revealed that the data distribution followed to a normal. Table 4 presents a comparison of the prediction performance of the superior performance model during the verication phase. As seen in Table 4, the NF-GP-C5 model emerged as the superior performer, achieving an R <sup>2</sup> value of 0.910, indicating a strong Table 4 Comparison of superior predictive performance of the NFGP-5, LR-C5, SLR-C2, MVR-C5, SVM-C2 and BT-C5 models Verication phase correlation between predicted and actual values. Additionally, the low RMSE of 2.653 and MAE of 0.217 demonstrate the model's accuracy in predicting rejection efficiency. The NF-GP model distinctive architecture, which combines neural networks with fuzzy logic, is particularly adept at managing complex, non-linear data with localized variations. This results in enhanced accuracy, improved interpretability, and minimal error metrics. The predictive performance of the ML algorithm in estimating micropollutant removal efficiency was benchmarked against existing literature. Xu et al. explored the use of the Lindeman-Merenda-Gold (LMG) model to assess the impact of input variables, including the physiochemical characteristics of six distinct NF membranes and micropollutants, as experimental parameters on the rejection rate (%). <sup>44</sup> The factor analysis associated with the LMG model revealed that membrane pore size and TMP have signicant contribution in the micropollutant rejection. The predictive analysis conducted using the Random Forest Regression (RFR) model for optimizing the rejection prediction model yielded a R <sup>2</sup> of 0.73, with the MAE and RMSE recorded at 6.92%, and 12.22% respectively. Zhu et al., compared the 10 ML algorithm including MLR, Bayesian regression (Bayes), SVM, ANN, extreme learning machine (ELM), and kNN and RF, GBDT, XGBoost and LightGBM for the effective prediction of micropollutant rejection rate (%) under forward osmosis (FO) operation. <sup>45</sup> XGBoost-18 model, enhanced with SHAP, exhibited a coefficient of determination (R <sup>2</sup> ) of 98% in predicting the micropollutant rejection rate (%), considering 18 signicant factors related to the membrane, micropollutant, and experimental conditions. Mousavi and Sajjadi compared the ANN-quantitative structure–activity relationship (QSAR) model strategy for the prediction of 72 micropollutant removal rate in RO membranes. <sup>46</sup> The ANN-QSAR model outperformed the MLR model, achieving higher accuracy with a R <sup>2</sup> of 0.95 and a lower RMSE of 6.4224. Teychene et al., conducted research using a decision tree model to assess the performance of reverse osmosis (RO) and nanoltration (NF) membranes in removing 22 different polar micropollutants, focusing on the removal rate (%). <sup>47</sup> The decision tree analysis indicated that NF membrane separation is predominantly inuenced by electrostatic interactions and size exclusion phenomena, while the RO membrane performance is chiey determined by the diffusive transport of polar micropollutants. The present study into both supervised and unsupervised learning models, specically NF-GP-C5, NFSC-C5, SVM-C2, and BT-C5, demonstrated comparable predictive accuracies with minimal error margins, with NF-GP-C5 exhibiting the most superior predictive performance over all the combinations. This research indicated that employing feature engineering in conjunction with ML techniques shows promise for selecting optimal combinations of input variables, thereby achieving high prediction accuracy. Predicting micropollutant rejection efficiency may enable the design of membranes with optimal pore sizes, enhancing clean water production efficiency. Additionally, optimizing experimental conditions based on these predictions can reduce energy consumption and operational costs. Models R <sup>2</sup> R MSE RMSE MAE NF-GP-C5 0.910 0.954 7.041 2.653 0.217 LR-C5 0.762 0.873 18.637 4.317 0.005 SLR-C2 0.739 0.860 20.471 4.525 0.198 MVR-C5 0.563 0.750 104.227 10.209 0.993 SVM-C2 0.726 0.852 21.521 4.639 0.281 BT-C5 0.772 0.879 17.891 4.230 1.600 ### Conclusions The ML algorithm including NF-GP, NF-SC, LR, SLR, MVR, SVM and BT ML were adeptly modeled and predicted the micropollutant removal efficiency, considering the inuence of 14 input variables based on the inuence of membrane characteristics, micropollutant properties, and ltration conditions. The feature engineering analysis revealed that a strategic combination of micropollutant property models holds signicant potential in inuencing and controlling the ltration performance of customdesigned functional membranes. MaxP, MinP, MW, and CS are dominant factors, attributed to their role in dictating the ltration mechanism of adsorption or sieving tendencies within the functional membrane. An inverse relationship was noted among crucial input variables, including Kow, MWCO, MCA, TMP, and C0. The constrained variability and scope of data points, in conjunction with intricate data distributions, can veil fundamental patterns, thus hindering the elucidation of denitive correlations. Among the combination, C5 showed demonstrated enhanced predictive capability for micropollutant removal rate efficiency under ML tools. Optimal prediction accuracy for rejection efficiency was attained using a NF-GP model, characterized by an optimal parameter setting with an R <sup>2</sup> value of 0.965 and both RMSE and MAE values at 3.65. NF-GP and NF-SC showed superior predictive in rejection across all six combinations. SVM and BT excel over LR by adeptly managing non-linear data, offering greater exibility, reducing overtting, thriving in high-dimensional scenarios, and achieving better generalization. The modeling approach highlighted that adaptations in data combinations signicantly inuence the input variables, as revealed through feature engineering analysis. Feature engineering, combined with ML algorithms, exhibited exceptional capability in underlying intricate patterns within micropollutant properties, membrane attributes, and experimental conditions. This ML algorithm would prospect for employing sparse datasets to precisely predict the efficacy of membrane performance. ### Data availability Data for this article, including all descriptions of data types are available [at https://pubs.acs.org/doi/10.1021/acs.est.1c04041.](https://pubs.acs.org/doi/10.1021/acs.est.1c04041) ### Conflicts of interest There are no conicts to declare. ### Acknowledgements This publication is based upon work supported by King Fahd University of Petroleum & Minerals. The author(s) at KFUPM acknowledge the Interdisciplinary Research Center for Membranes & Water Security and DROC for the support received. This research was funded by the Deanship of Research Oversight and Coordination (DROC) at King Fahd University of Petroleum & Minerals (KFUPM) under the Interdisciplinary Research Center for Membranes and Water Security. ### References 1 Z. Wang, G. W. Walker, D. C. G. Muir and K. NagataniYoshida, Environ. Sci. Technol., 2020, 54, 2575–2584. 2 M. Carere, A. Antoccia, A. Buschini, G. Frenzilli, F. Marcon, C. Andreoli, G. Gorbi, A. Suppa, S. Montalbano, V. Prota, F. De Battistis, P. Guidi, M. Bernardeschi, M. Palumbo, V. Scarcelli, M. Colasanti, V. D'Ezio, T. Persichini, M. Scalici, A. Sgura, F. Spani, I. Udroiu, M. Valenzuela, I. Lacchetti, K. di Domenico, W. Cristiano, V. Marra, A. M. Ingelido, N. Iacovella, E. De Felip, R. Massei and L. Mancini, J. Environ. Manage., 2021, 300, 113549. 3 M. Lim, D. Patureau, M. Heran, G. Lesage and J. Kim, Environ. Sci.: Water Res. Technol., 2020, 6, 1230–1243. 4 Y. Luo, W. Guo, H. H. Ngo, L. D. Nghiem, F. I. Hai, J. Zhang, S. Liang and X. C. Wang, Sci. Total Environ., 2014, 473–474, 619–641. 5 M. Vecchiato, T. Bonato, C. Barbante, A. Gambaro and R. Piazza, Sci. Total Environ., 2021, 796, 149003. 6 J. F. Nure and T. T. I. Nkambule, J. Ind. Eng. Chem., 2023, 126, 92–114. 7 P. Bhatt, G. Bhandari and M. Bilal, J. Environ. Chem. Eng., 2022, 10, 107598. 8 E. Alonso, C. Sanchez-Huerta, Z. Ali, Y. Wang, L. Fortunato and I. Pinnau, J. Membr. Sci., 2024, 693, 122357. 9 Y. S. Khoo, P. S. Goh, W. J. Lau, A. F. Ismail, M. S. Abdullah, N. H. Mohd Ghazali, N. K. E. M. Yahaya, N. Hashim, A. R. Othman, A. Mohammed, N. D. A. Kerisnan, M. A. Mohamed Yusoff, N. H. Fazlin Hashim, J. Karim and N. salmi Abdullah, Chemosphere, 2022, 305, 135151. 10 M. Heiranian, H. Fan, L. Wang, X. Lu and M. Elimelech, Chem. Soc. Rev., 2023, 52, 8455–8480. 11 A. Matin, S. M. S. Jillani, U. Baig, I. Ihsanullah and K. Alhooshani, J. Environ. Manage., 2023, 338, 117682. 12 M. An, L. Gutierrez, A. D'Haese, L. Tan, A. Verliefde and E. Cornelissen, Desalination, 2023, 565, 116861. 13 D. Lu, X. Ma, J. Lu, Y. Qian, Y. Geng, J. Wang, Z. Yao, L. Liang, Z. Sun, S. Liang and L. Zhang, Desalination, 2023, 564, 116748. 14 A. Mohammed, H. Alshraideh and F. Alsuwaidi, Desalination, 2024, 574, 117253. 15 H. M. Chang, Y. Xu, S. S. Chen and Z. He, Sci. Total Environ., 2022, 838, 156009. 16 Z. Haider Jaffari, H. Jeong, J. Shin, J. Kwak, C. Son, Y. G. Lee, S. Kim, K. Chon and K. Hwa Cho, Chem. Eng. J., 2023, 466, 143073. 17 N. D. Viet and A. Jang, J. Cleaner Prod., 2023, 389, 136023. 18 P. Dansawad, Y. Li, Y. Li, J. Zhang, S. You, W. Li and S. Yi, Adv. Membr., 2023, 3, 100072. 19 G. Ignacz, N. Alqadhi and G. Szekely, Adv. Membr., 2023, 3, 100061. 20 J. W. Barnett, C. R. Bilchak, Y. Wang, B. C. Benicewicz, L. A. Murdock, T. Bereau and S. K. Kumar, Sci. Adv., 2020, 6, eaaz4301. 21 P. Priya, T. C. Nguyen, A. Saxena and N. R. Aluru, ACS Nano, 2022, 16, 1929–1939. 22 N. Baig, S. I. Abba, J. Usman, M. Benaa and I. H. Aljundi, Environ. Sci.: Adv., 2023, 2, 1446–1459. 23 N. K. Khanzada, M. U. Farid, J. A. Kharraz, J. Choi, C. Y. Tang, L. D. Nghiem, A. Jang and A. K. An, J. Membr. Sci., 2020, 598, 117672. 24 N. Jeong, T. H. Chung and T. Tong, Environ. Sci. Technol., 2021, 55, 11348–11359. 25 T. Zhu, Y. Zhang, C. Tao, W. Chen and H. Cheng, Sci. Total Environ., 2023, 857, 159348. 26 H. Wang, J. Zeng, R. Dai and Z. Wang, Environ. Sci. Technol., 2024, 58, 5878–5888. 27 Y. Wu, M. Chen, H. J. Lee, M. A. Ganzoury, N. Zhang and C. F. De Lannoy, ACS ES&T Eng., 2022, 2, 1574–1598. 28 Y. Liu, K. Wang, Z. Zhou, X. Wei, S. Xia, X. M. Wang, Y. F. Xie and X. Huang, Environ. Sci. Technol., 2022, 56, 15220–15237. 29 F. Wang, W. Wang, H. Wang, Z. Zhao, T. Zhou, C. Jiang, J. Li, X. Zhang, T. Liang and W. Dong, Sci. Total Environ., 2023, 883, 163610. 30 P. Masuodi, F. Bahmanzadegan, A. Hemmati and A. Ghaemi, Case Stud. Chem. Environ. Eng., 2024, 9, 100750. 31 S. P. Sun, T. A. Hatton, S. Y. Chan and T. S. Chung, J. Membr. Sci., 2012, 401–402, 152–162. 32 T. Puspasari, N. Pradeep and K. V. Peinemann, J. Membr. Sci., 2015, 491, 132–137. 33 J. Wang, L. Wang, C. Xu, R. Zhi, R. Miao, T. Liang, X. Yue, Y. Lv and T. Liu, Chem. Eng. J., 2018, 332, 787–797. 34 Y. ying Zhao, X. mao Wang, H. wei Yang and Y. F. Xie, J. Membr. Sci., 2018, 563, 734–742. 35 B. He, H. Peng, Y. Chen and Q. Zhao, J. Membr. Sci., 2020, 608, 118202. 36 X. D. Weng, Y. L. Ji, R. Ma, F. Y. Zhao, Q. F. An and C. J. Gao, J. Membr. Sci., 2016, 510, 122–130. 37 A. F. Schmidt and C. Finan, J. Clin. Epidemiol., 2018, 98, 146– 151. 38 L. Davies, arXiv, 2016, preprint, arxiv:1605.04542, DOI: [10.48550/arXiv.1605.04542.](https://doi.org/10.48550/arXiv.1605.04542) 39 A. T. C. Goh and W. G. Zhang, Eng. Geol., 2014, 170, 1–10. 40 U. Alhaji, E. Chinemezu and S. Isah, Bioresour. Technol. Rep., 2022, 19, 101167. 41 J. Xing, K. Luo, H. Wang, Z. Gao and J. Fan, Energy, 2019, 188, 116077. 42 G. Wang, J. K. S. Paw, J. Pasupuleti, C. T. Yaw, T. Yusaf, A. N. Abdalla and Y. Cai, Case Stud. Therm. Eng., 2024, 53, 103729. 43 J. R. Jang, IEEE Trans. Syst. Man Cybern., 1993, 23, 665–685. 44 R. Xu, Z. Zhang, C. Deng, C. Nie, L. Wang, W. Shi, T. Lyu and Q. Yang, Environ. Res., 2024, 244, 117935. 45 T. Zhu, Y. Zhang, Y. Li, C. Tao, Z. Cao and H. Cheng, J. Environ. Chem. Eng., 2023, 11, 110847. 46 S. L. Mousavi and S. M. Sajjadi, RSC Adv., 2023, 13, 23754– 23771. 47 B. Teychene, F. Chi, J. Chokki, G. Darracq, J. Baron, M. Joyeux and H. Gallard, Water Supply, 2020, 20, 975–983.

섹션 본문 49문단 · 53,753자

(제목 없음)

1Predicting the efficacy of micropollutant separation through functionalized membranes is an arduous endeavor.The challenge stems from the complex interactions between the physicochemical properties of the micropollutants and the basic principles underlying membrane filtration.This study aimed to compare the effectiveness of a modest dataset on various machine learning tools (ML) tools in predicting micropollutant removal efficiency for functionalized reverse osmosis (RO) and nanofiltration (NF) membranes.The inherent attributes of both the micropollutants and the membranes are utilized as input factors.The chosen ML tools are supervised algorithm (adaptive network-based fuzzy inference system (NF), linear regression framework (linear regression (LR)), stepwise linear regression (SLR) and multivariate linear regression (MVR)), and unsupervised algorithm (support vector machine (SVM) and ensemble boosted tree (BT)).The feature engineering and parametric dependency analysis revealed that characteristics of micropollutants, such as maximum projection diameter (MaxP), minimal projection diameter (MinP), molecular weight (MW), and compound size (CS), exhibited a notably positive impact on the correlation with removal efficiency.Model combination with key variables demonstrated high prediction accuracy in both supervised and unsupervised ML for micropollutant removal efficiency.An NF-grid partitioning (NF-GP) model achieved the highest accuracy with an R 2 value of 0.965, accompanied by low error metrics, specifically an RMSE and MAE of 3.65.It is owed to the handling of the complex spatial and temporal aspects of micropollutant data through division into consistent subsets facilitating improved identification of rejection efficiency and relationships.The inclusion of inputs with both negative and positive correlations introduces variability, amplifies the system responsiveness, and impedes the precision of predictive models.This study identified key micropollutant properties, including MaxP, MinP, MW, and CS, as crucial factors for efficient micropollutant rejection during real-time filtration applications.It also allowed the design of pore size of self-prepared membranes for the enhanced separation of micropollutants from wastewater.

Introduction

2Globally, the signicant escalation of micropollutants in aquatic ecosystems, attributed to both anthropogenic activities and natural disasters, is raising serious concerns.This has resulted in the diminished availability of water resources and jeopardized the provision of potable drinking water.Approximately 350 000 chemical substances are authorized for usage worldwide, 1 and concerningly, close to 100 000 of entities are detected in aquatic environments. 2Micropollutants present a toxic threat to the biosphere at concentrations in the nanogram per liter range, covering a broad array of chemical entities. 3The major micropollutants are pharmaceutically active compounds (PhACs), personal care products (PCPs), pesticides, herbicides, and other industrial compounds such as polycyclic aromatic hydrocarbons (PAHs) and ame retardants chemicals. 4,5Such micropollutants can cause harmful effects including neurological disorders, cancer, mutations, reproductive issues, skin problems, and physical deformities. 6,7][10] The process of eliminating micropollutants encompasses a multifaceted mechanism that includes not only the primary sieving and electrostatic repulsion but also hinges on the physicochemical characteristics of the micropollutants.Lower pore size membranes exhibit a heightened vulnerability to micropollutant fouling, attributable to synergistic effects of size-based exclusion, electrostatic interaction, and the dynamic interactions mediated by the hydrophilic or hydrophobic properties of the micropollutants in relation to the surface characteristics of the membrane. 11,12This fouling phenomenon leads to a twin detriment: a decline in micropollutant removal efficiency and a reduction in overall membrane performance.Consequently, impacting the feasibility of its application on a large scale in the production of clean water.The application of modeling techniques for the prediction of membrane ux and rejection efficiency has become increasingly signicant, serving as a promising process to improve ltration efficacy and iden-tication of key parameters.

3The recent emergence of machine learning (ML) has gained prominent interest in membrane separation using different techniques like classication, regression estimation clustering, principal component analysis (PCA), reinforcement learning, unsupervised learning and tting. 13,146][17] ML models achieve generalization and enhance their learning processes through the iterative optimization of learning algorithms and the utilization of extensive and diverse datasets.9][20][21][22] In the eld of membrane science and technology, the deployment of ML techniques is critical for the prediction of vital performance metrics like ux, rejection rates, and tendencies towards fouling, despite the constraints of limited data availability.The challenges of such limited dataset approaches include diminished accuracy, generalizability, overtting risks, complex interaction identication issues, tuning difficulties, and restricted exploration of membrane system complexities.

4In the ltration processes targeting micropollutants, a spectrum of tailored NF and RO membranes demonstrate unique operating principles, thus contributing to the complex retention dynamics of these diminutive pollutants.These dynamics are primarily governed by the inherent physicochemical attributes of micropollutants. 23Lately, the application of ML algorithms is increasingly being leveraged to rene the prediction of micropollutant behavior within NF/RO membrane systems.Jeong et al., studied the extreme gradient boosting (XGBoost) for the prediction of NF and RO membranes on micropollutant removal efficiency. 24The data splitting technique was utilized to decrease data leakage and ensure accurate predictions for the dataset of 1968 instances.A dataset consists of 1968 instances with 231 types of micropollutant and 49 types of RO membrane.Featuring 231 different micropollutants and 49 varieties of NF and RO membranes.Zhu et al. evaluated a total of six ML algorithms for the dataset encompassing 2102 instances, 276 micropollutants, and 52 varieties of NF and RO membranes. 25he deployed ML algorithms are MLR, articial neural network (ANN), SVM, kNN, random forest (RF), gradient boosting decision tree (GBDT), light gradient boosting model (LightGBM), and extreme gradient boosting (XGBoost).Ensemble models demonstrated superior predictive capabilities regarding the rejection rate.Additionally, the molecular weight cut-off (MWCO), the molecular weight (MW) of micropollutants, and the McGowan volume of micropollutants were identied as the key determinants in the effectiveness of micropollutant removal.Wang et al. developed a new data-knowledge co-driven model (DKD model) that employs ML strategies to enhance predictive accuracy. 26XGBoost with shapley additive explanations (SHAP) was applied to a dataset comprising 2160 data points, including 227 micropollutants and 37 commercial polyamide membranes, aiming to improve model interpretability.The recent ML approach of low-pore membranes for micropollutant removal efficiency is presented in Table 1.These studies indicated that ML algorithms have proven to be effective for predicting the behavior of micropollutants within substantial datasets.Furthermore, literature predominantly focuses on commercially available membranes, incorporating input variables with diverse inuence on model performance.Variables exhibiting weaker dependencies have been demonstrated to degrade model accuracy, leading to decreased predictive power and increased model complexity.Hence, a novel approach has been proposed that leverages feature selection and model combination to enhance the prediction of micropollutant rejection efficiency in self-prepared membranes.

5Membrane modication has also gained prominence in the selective exclusion of micropollutants, thereby adding further intricacy to the phenomena of micropollutant rejection. 27urthermore, data on the separation efficacy of self-prepared low pore size NF and RO membranes for micropollutants are limited, and the correlations between the physicochemical properties of micropollutants and their separation outcomes remain insufficiently explored.Jeong et al. used XGBoost for modeling micropollutant removal in both commercial and selfprepared membranes, reporting MAEs between 6.25 and 19.28, indicating varying prediction accuracies. 24This study aimed to study on data-driven modeling of self-prepared membranes with a feature selection on model combination and comparison of supervised algorithm, linear regression framework, and unsupervised algorithm.This study focused on data-driven ML modeling of self-prepared membranes, incorporating feature selection to analyze and compare various model combinations.It involves the comparison of performance of multiple algorithms including of supervised algorithms (adaptive networkbased fuzzy inference system (NF)), linear regression framework (linear regression (LR), stepwise linear regression (SLR) and multivariate linear regression (MVR)), and unsupervised algorithm (support vector machine (SVM)) and ensemble boosted tree (BT) on the prediction of micropollutant removal efficacy corresponding to input variables.The chosen input variables are pH of feed solution (pH), micropollutant molecular weight (MW), micropollutant compound charge (CC), micropollutant octanol-water partition coefficient (K ow ), micropollutant minimal projection diameter (MinP), micropollutant maximum projection diameter (MaxP), micropollutant compound size (CS), membrane molecular weight cut off (MWCO), membrane contact angle (MCA), membrane surface charge (MC), total charge (TC), transmembrane pressure (TMP), time interval (T), and initial micropollutant concentration (C 0 ).The distinctive aspect of the study is its method of using model combinations to analyze the impact of input variables on micropollutant removal, selecting these variables based on their correlation signicance.

Data collection

6The dataset comprises 990 data points partitioned into 66 subsets, with each point containing 14 input features and a single output variable for rejection efficiency.The dataset consisted of a curated selection of self-prepared membranes derived from literature. 242][33][34][35][36] The functional thin lm composite (TFC) membrane are structured with an active layer atop a support layer, where the active polyamide layer serves as the crucial intrinsic barrier for micropollutant separation.The functional self-fabricating membranes assessed for their active layer compositions encompass poly-(piperazineamide), imidazolium ionic liquid (specically, 1-aminoethyl-3methylimidazolium modied poly-(piperazine-amide)), polyethyleneimine-amide, and cellulose cross-linked regenerated cellulose cross-linked thin lm composite membranes, in addition to ceramic membranes modied with silica, titania, and zirconia.Prior to model development, the raw data was subjected to several pre-processing to remove the noise and other redundancies within the data.Data was normalized for the development of all the models using eqn (1) and subsequently, de-normalized for evaluation criteria.

7where y is the normalized data.x is the measured data, x is the mean of the measured data, x max is the maximum value of the measured data, and x min is the minimum value.Despite the signicant advancements in AI-driven models, they are limited by issues such as undertting or overtting, which signicantly hinder the model's performance.Overtting impairs the model's ability to generalize beyond the training data, leading to discrepancies between training outcomes and validation performance.It is imperative to employ rigorous validation techniques to enhance model robustness and reliability.In line with the ndings of several researchers, both internal and external validations are crucial during the model development process to ensure the models' applicability to unseen data.This research highlights the effectiveness of k-fold cross-validation in assessing the models' performance across various scenarios.Moreover, alternative validation methodologies such as the leave-one-out, holdout, and others have been effectively implemented, as demonstrated by recent studies.It is worth mentioning that noise in this context refers to any irrelevant or extraneous data points that could distort the model's predictive accuracy.This includes measurement errors, inconsistencies in data sources, and outliers that do not follow the general trend of the dataset.The study employed humaninspection and statistical visualization to identify noise.For instance, outlier detection methods such as the box-whisker Fig. 1 Box-whisker analysis of output and input variables.

8analysis were used to pinpoint irregular near and far outliers' data points (Fig. 1).Furthermore, domain-specic knowledge was applied to identify and remove data points that were deemed inconsistent with expected membrane performance metrics.Similarly, redundant elimination data points, such as duplicate entries or highly correlated variables, were checked, identied, and removed.

Linear regression (LR)

9LR is a statistical technique used to model the relationship between a dependent variable and one or more independent variables using a linear equation applied to observed data.The micropollutant removal efficiency is represented by the dependent variable (y), while the independent variables (x) function as predictors.The regression coefficients (b) function as weights for x, representing micropollutant properties, membrane properties, and experimental conditions.They signify the anticipated variation in y, which denotes micropollutant removal efficiency, in response to a unit change in x while holding other variables constant.

10where 3 is the error function.LR relies on four critical assumptions: the presence of a linear relationship between the dependent and independent variables, independence of observations, homoscedasticity, and normal distribution of error terms, which ensures the reliability of statistical inferences. 37LR is commonly employed for predicting patterns, assessing the strength of predictors, and elucidating relationships between variables.

Stepwise linear regression (SLR)

11SLR automates the selection of predictive variables for regression models, iteratively adding or removing variables based on their statistical signicance and criteria like p-values or information criteria such as Akaike Information Criterion (AIC) or Bayesian Information Criterion (BIC).This method simplies model building by systematically evaluating each variable's contribution and ensuring only statistically relevant predictors are included while balancing complexity and interpretability to mitigate potential overtting.It employs forward selection, backward elimination, or hybrid approaches to dynamically adjust the model, continuously evaluating t to ensure improvements and balance between t and complexity.The general equation formulation for predicting micropollutant removal efficiency (y) through SLR entails constructing a linear association with a collection of independent variables (x 1 , x 2 , x 3 ).This equation can be expressed as:

12SLR relies on fundamental assumptions such as a linear relationship between dependent and independent variables, absence of perfect multicollinearity, homoscedasticity, and normally distributed errors. 38The selection criteria for variables need to accurately reect their contribution to the model, avoiding bias or overtting.Ultimately, SLR aims to identify a concise model that incorporates the most pertinent predictors while mitigating overtting and ensuring both precision and conciseness in the nal model.

Multivariate linear regression (MLR)

13MLR is a statistical technique used to analyze the relationship between multiple independent variables and a single dependent variable.MLR relies on key assumptions such as linearity between dependent and independent variables, independence of errors, homoscedasticity ensuring consistent error variance, normality of error distribution aiding accurate estimation, and absence of multicollinearity to maintain model interpretability.The coefficients in MLR represent the relationship between each independent variable and the dependent variable, with the error term representing the discrepancy between observed and predicted values of the dependent variable. 39The goal of MLR is to minimize the sum of squared errors to produce the best-tting model explaining the relationship between independent variables and The general equation formulation for predicting micropollutant removal efficiency (y) via MLR entails creating a linear relationship with a group of independent variables (x 1 , x 2 , ., x n ).This equation can be articulated as:

14Support vector machine (SVM)

15SVM models are robust supervised learning algorithms utilized for classication and regression tasks.Their operation involves identifying an optimal hyperplane to separate distinct classes within the dataset, maximizing the margin between this hyperplane and the nearest data points termed support vectors.SVMs demonstrate efficacy particularly in high-dimensional datasets, even when dimensions exceed the number of data points.Leveraging the kernel trick, SVMs adeptly address nonlinear data by transforming it into higher-dimensional spaces conducive to linear separation. 40Furthermore, SVMs showcase memory efficiency by employing only a subset of training data (support vectors) for prediction.Nonetheless, they come with trade-offs, such as computational complexity in optimizing the hyperplane for sizable datasets and the necessity for careful selection of kernel functions for non-linear data, oen necessitating experimentation.Scheme 1 shows the SVM model structure for micropollutant RR(%).The training set consists of the regression vector representing micropollutant properties, membrane properties, and experimental conditions in the input space (x 1 , x 2 , ., x n ), along with their corresponding output space of micropollutant removal efficiency (y 1 , y 2 , ., y n ).The mapping function (4x) transforms the input data into a higher-dimensional feature space, denoted as follows:

16where u and b are the weight vector and bias, respectively.The regression function associated with Lagrange multipliers (a i , a * i ) and the kernel function (K(x,x i )) for constrained optimization problems are expressed as follows:

17SVMs operate on several assumptions, including the need for scaled features to prevent dominance by any single feature and reliance on clean, representative data free from signicant errors or outliers.They are primarily designed for binary clas-sication tasks, although extensions exist for multi-class scenarios, and in the absence of a specied kernel, SVMs default to assuming a linear decision boundary.

Boosted trees (BT)

18BT, also known as gradient boosting machines, amalgamate numerous weak learners, typically decision trees, to construct a robust predictive model via ensemble learning.Unlike standalone decision trees, BT iteratively generate a sequence of trees, with each subsequent tree rectifying errors from its predecessors.This iterative process emphasizes misclassied or inadequately predicted data points, diminishing model bias and bolstering overall accuracy.By amalgamating predictions from multiple trees, BT adeptly capture intricate data patterns, making them effective for regression and classication tasks.Despite their efficacy, they may be susceptible to overtting if not nely tuned, and training may be computationally demanding compared to simpler models.Nonetheless, BT remain widely employed due to their resilience and exceptional predictive capabilities across diverse domains.The process involves sequentially tting decision trees to the residuals of prior trees, with each tree aiming to rectify errors from its predecessors.Model representation entails aggregating these trees into a single predictive model, where each tree contributes by assigning a weight to its output.The nal prediction results from combining the outputs of all trees, forming an ensemble model where each tree's contribution depends on its ability to reduce overall prediction error.The schematic of BT model structure for micropollutant RR(%) is shown in Scheme 1.The BT regression equation for predicting micropollutant removal efficiency (y) based on input variable (x) is dened by the ith weight (a i ), the ith prediction (h i ), and the total number of trees (M).It can be presented as follows:

19Adaptive network-based fuzzy inference system (NF)

20The Neuro-Fuzzy (NF) approach combines neural networks learning capabilities with the human-like reasoning of fuzzy inference systems.In NF systems, fuzzication maps discrete inputs to fuzzy sets, followed by the application of fuzzy rules in the inference layer and defuzzication to convert fuzzy outputs to precise values. 43

Output function of input layer

21Output function of fuzzification layer

22Scheme 1 shows the NF model structure for micropollutant RR(%).In the NF architecture, the backpropagation algorithm precisely adjusts the membership function parameters within the neural network layer to optimize the input-to-fuzzy-value mapping.Simultaneously, the least-squares estimation (LSE) method renes the consequent parameters of fuzzy logic rules for optimal parameter estimation in the output stage.This procedural sequence enables NF systems to efficiently adapt and ne-tune parameters, making them procient in simulating and navigating intricate, non-linear dynamics.NF requires data to train its fuzzy membership functions and rules, with more complexity demanding more data for effective learning.It strikes a balance between interpretability and accuracy, although prioritizing interpretability may require limiting model complexity, potentially affecting accuracy.

Evaluation criteria

23The evaluation of ML algorithm predictive accuracy for micropollutant removal efficiency encompasses the use of various statistical and error metrics.It includes measures such as correlation coefficient (R), determination coefficient (R 2 ), mean squared error (MSE), mean absolute error (MAE), and root mean squared error (RMSE).The metrics are computed utilizing the observed data (Y (o) ), predicted Y (p) dataset with a total number of data points (N).They are expressed through the following equations.

Results and discussion

24In this study, the models such as NF-GP, NF-SC SVM, BT, LR, and SLR were implemented using the MATLAB 2023b (R2023b) predictive toolbox while the MVR was used in Microso Data toolbox.Similar to other data-driven algorithms, the optimal parameters for NF, SVM, and BT were identied through a series of trial-and-error methods.These methods involve hyper-parameter tuning and evaluating the model's performance to nd the best combination.The models were initially calibrated using the training data to ensure they could accurately learn the underlying patterns.Once calibrated, the trained models were applied to the testing data to validate their predictive capabilities and to ne-tune the parameters further.

25For the NF modeling, we explored different types of membership functions (MFs) through an iterative trial and error process.This involved testing various MF types and adjusting epoch iterations to nd the best conguration for the NF model.Each structure's performance was assessed to ensure that the chosen conguration provided the most accurate predictions.

26For the SVM models, we investigated different structural congurations for all possible input combinations.To achieve the highest accuracy in the SVM models, it was essential to determine the optimal values for the C and g parameters, which control the trade-off between achieving a low training error and a low testing error, and the kernel's inuence, respectively.We employed the grid search method, a systematic approach that involves searching through a manually specied subset of the hyperparameter space of the learning algorithm, to identify the optimal parameter values.This comprehensive approach to parameter tuning, involving trial and error for NF and grid search for SVM, ensures that the models are robust, accurate, and well-suited to the data.Each step, from model calibration to parameter optimization, is crucial in developing predictive models that can generalize well to unseen data, providing reliable and accurate predictions.The procedure was applied to other employed models employed in this study.The predictive ML algorithm analysis of micropollutant rejection rate involves the feature selection and data distribution examination across 14 input variables and 6 model congurations.Additionally, it involves evaluating the predictive performance of 7 ML algorithms and comparing the superior algorithm's effectiveness in prediction.The perfect model demonstrates the highest prediction accuracy while exhibiting minimal error metrics.Comprehending the impact of dataset features and model architecture on predictive performance is crucial for a thorough evaluation in ML algorithm.Table 2 shows the accuracy and error metrics of predictive NF-GP, NF-SC, LR, SLR, MVR, SVM and BT ML algorithm on micropollutant removal rate.Sparse dataset modeling is greatly affected by variations in distributions, noise levels, and patterns, as well as differences in model complexity, assumptions, and algorithms.Feature selection is crucial for enhancing prediction accuracy in small datasets, as informative features are meticulously chosen to mitigate noise and prioritize impactful variables, improving model performance despite data scarcity challenges.A convenient and effective modeling strategy of feature selection combined ML algorithm approach for the efficient predicting micropollutant removal rates.

Analysis of feature selection and data distribution

27The proposed ML algorithm tools were aimed to evaluate the impact of various input variables, such as properties of micropollutant, membrane specications, and experimental parameters, precisely predicting the target variable as removal rate (RR) (%).The chosen 14 input variables are properties of (−0.118),TMP (−0.199), and time (−0.226).For C5, we focused on the strongest positive variables overall, ensuring they signicantly impact the prediction, such as CS and MaxP.Finally, in C6, we included the strongest negative variables to understand their adverse impact on RR, such as pH (−0.346) and TC (−0.243).This systematic and detailed approach to model selection ensures that our predictive model for rejection rate (RR) is robust, reliable, and highly accurate (Fig. 2).The reasons behind the specic parameter choices for our model selection are established in their dependency strengths with the target variable (RR) and their potential impact on the model's predictive power.The study included parameters with strong direct positive correlations because they signicantly improve rejection rate predictions.Moderate direct positive variables were selected for their positive but less signicant contributions.Both direct and indirect variables help capture the relationship between compound characteristics and rejection rate.

28Similarly, the variables with smaller correlations for a comprehensive model.The strongest positive variables were chosen for their consistently high correlations with RR.Furthermore, this study also considered the strongest negative variables to understand their adverse impacts on RR.This systematic approach ensures that our predictive model for RR is robust, reliable, and highly accurate.

29As seen in Fig. 3, MaxP demonstrated a robust correlation, quantied as 0.711, with the removal rate (%) of micropollutants, specically under the model conguration (C1) that accounted for the highest inuence, spanning from 70% to 60%.Table 3 shows the statistical features of data distribution of input and out variables.The additional signicant variable, CS, displayed a low standard deviation (SD) of 0.109, with its data extending from 0.438 to 0.798 Å.For the conguration C2, where the correlation of input variables like MinP and MW ranged between 40-50%, M w displayed the highest correlation with the rejection rate (%).The distribution of Mw data ranged from 179 to 733 g mol −1 , exhibiting a higher SD and modest skewness value of 145.495 and 0.969, respectively.The correlation and feature engineering indicated that the micropollutant properties such as MaxP, MinP, MW and CS are signicant control in the RO and NF membranes.This mechanism was due to the MW and CS are dominant in the size exclusion phenomena and other MaxP and MinP corresponds to the adsorption of micropollutant on the membrane surface.The effectiveness of size exclusion in ltering micropollutants is largely determined by their MW and CS, which dictate the retention of micropollutant in low pore size NF and RO membranes.In contrast, the adsorption process, where micropollutants bind to the membrane surface, is signicantly inuenced by their MaxP and potentially MinP, highlighting the physical properties impact the separation process.The subsequent conguration, C3, incorporates variables such as pH, CC, MC, TC, and time interval, which all fall within a 20-30% correlation range with respect to the targeted removal rate percentage.pH, T and TC had inverse relationship with micropollutant rejection rate (%).Within the input variables of conguration C3, the range between the maximum and The TMP showed the greatest standard deviation, recorded at 169.586, and an inverse correlation with the targeted output response was noted for TMP, along with K ow and MCA.These combinations suggest that the datasets are intricate, displaying complex and non-linear correlations with the micropollutant rejection rate (%).Therefore, meticulous attention is required in the selection of input variables for effective modeling to prevent data leakage.Consequently, the four foremost input variables demonstrating either positive or negative correlations were systematically segregated into two distinct groups, combinations C5 and C6.This stratication was executed to scrutinize their respective inuences on the accuracy of predicting the targeted response for micropollutant removal.The four primary input variables exhibiting signicant positive correlations in combination C5 include MaxP, MinP, MW, and CS.It revealed that the micropollutant properties such as MaxP, MinP, MW, and CS are meticulously considered into account for the real-time ltration application.This study also enables the design of self-fabricated membranes with optimized pore sizes for improved separation of micropollutants from wastewater.

30Performance evaluation of predictive ML algorithm: error metrics and accuracy Fig. 4 illustrates the comparative analysis of MAE and RSME data for the predictive NF, LR, SLR, MVR, SVM and BT models evaluated on calibration and verication datasets for combinations C1 through C6.As seen in Fig. 4a and b, MAE does not have much deviation in both the NF grid partition (NF-GP) and subtractive clustering (NF-SC) for the combination C1 to C6.It indicated that both grid partition (GP) and subtractive clustering (SC) methods held similarly minor prediction errors of micropollutant removal rate (%).Among the combination in NF, NF-GP-C4 exhibit highest MAE value (0.703) and predominant with NF-GP-C1 (0.544), NF-SC-C4 (0.561), and NF-GP-C6 (0.860).In RMSE, the deviation was observed in data mining and segmentation strategies of GP and SC notably in the C3 and C6.The deviation in verication and calibration phase was due to the data distribution and descriptive statistics.In GP, the dataset is segmented into a uniform grid of hypercubes, leading to variations in data distribution representation.Conversely, SC delineates clusters based on the density of data points, yielding enhanced distinctions and more precise predictive outcomes.GP divides the data space into a grid of hypercubes, assigning data points to these cubes, which can lead to a uniform treatment of the data space regardless of the density of points.This method may not always capture the nuances in data distribution, potentially affecting the precision of predictions and, consequently, the MAE and RMSE values.In contrast, SC identies cluster centers based on the density of data points, which can result in a more nuanced and potentially more accurate modeling of data relationships, impacting the MAE and RMSE values differently.Another, RMSE connes the identication of large errors in the predictive model dataset.

31The NF-GP-C5 and NF-SC-C5 exhibited notably lower MAE values of 0.217 and 0.193, respectively, accompanied by minimal RMSE values of 3.651 and 3.660.In comparison to neural fuzzy models, the MAE and RMSE values were higher in LR frameworks across all the combinations except C5.It was imperative to observe that MAE has no deviation in both calibration and verication phase for the LR framework of LR, SLR and MLR (Fig. 4c-h).In LR framework (LR, SLR and MLR), C4 displayed the maximum MAE value owed to the predictive rejection rate (%) for the input variables (K ow , MWCO, MCA, TMP and Co).Combination C4 emerged from a correlation signicance range of 10-20% among input variables, indicating a relatively minor impact.This pattern of LR approaches had good agreement with above NF-GP model.The other combination ranking based on MAE varied with one another in LR approaches.The observed pattern can be attributed to the fact that LR relies on assumption of linearity between variables, SLR operates through an automated process of iterative forward selection and backward elimination and MLR characterized by its reliance on multiple dependent variables.In evaluating regression models, the lowest MAE of 0.005 was found in the model LR-C5.However, this model also exhibited a high RMSE of 4.744, indicating the inuence of outliers or signicant errors.Generally, MAE values exceeded one across most congurations in LR, SLR, and MLR, suggesting suboptimal performance in these models.Moreover, the RSME value showed signicant deviation in the verication and calibration phase in LR approaches (LR, SLR and MLR).The discrepancy in RMSE and MAE metrics across verication and calibration datasets underscores the predictive model's challenges in generalizing to unseen data and adapting to variations in data distribution.RMSE exhibits heightened sensitivity to substantial errors, a result of its methodology of squaring the deviations between predicted and actual values prior to averaging them.This sensitivity enabled the identication of signicantly divergent values are exist in the testing dataset.Compared to LR frameworks, SVM exhibited lower MAE and RMSE values for all combinations except for C3, which had MAE and RMSE values of 10.545 and 21.791, respectively, and C6, which had values of 11.289 and 21.427, during the verication phase (Fig. 4i and j).The minimal error metric was due to the SVM utilizing the kernel function and its parameters to identify the optimal hyperplane that separates different classes in the feature space.

32The regularization term critically inuences the attainment of an optimal solution through error minimization, harmonizing the model's intricacy with its capacity to generalize across unseen data.In BT model, calibration shower higher MAE than calibration across all combinations (Fig. 4k and l).It revealed that during the calibration phase, the BT model was not adequately rened and instead became overly tailored to the specics of the training data, leading to a decrease in its ability to data generalization.Among the combinations, C5 displayed an advantageous result in both MAE and RMSE across each distinct model, including NF-GP-C5, NF-SC-C5, LR-C5, MVR-C5, and BT-C5.The combination C5 positively correlates with input variables including MaxP, CS, MW and MinP.This study also indicates that data splitting and data leaking have potential effect with combinations.The error metrics of the predictive model indicated model combinations had wider inuence in data generalization and optimal solution for prediction accuracy.This independent model examination unequivocally demonstrates the complexity inherent within the datasets, highlighting the specic combinations signicantly inuence the error metrics associated with predicting micropollutant rejection rates.Fig. 5 presents a comparison using a Taylor plot of the correlation coefficients (R) for various predictive models including NF-GP, NF-SC, LR, SLR, MVR, SVM and BT across six combination C1 to C6.As seen in Fig. 5f, NF-GP and NF-SC models showed a linear relationship with superior correlation coefficient for the C1, C2, C4 and C5.For the C5 combination, both the NF-GP and NF-SC models achieved R of 0.982, indicating a very high degree of linear correlation between predicted and observed values.However, the performance was lower in the C6.The reduced linear correlation for C3 and C6 in the GP and SC models suggests a limitation within these models to discern the intricate patterns in the input variables of C3 (pH, CC, MC, and TC) and C6 (pH, CC, TMP, and time).Among a total of 12 model combinations evaluated in NF, 8 displayed a close linear relationship in comparison with the NF-GP and NF-SC models.The enhancement in correlation coefficient can be attributed to the GP model's efficient organization of the dataset, focusing on localized patterns within individual grid cells, alongside the SC model's precise identication of cluster centers through subtractive clustering.It reveals a potential challenge in effectively modeling the complexity inherent in these specic pH and TC combinations.For the C5 combination, both the NF-GP and NF-SC models achieved R of 0.982, indicating a very high degree of linear correlation between predicted and observed values.However, the performance was lower in the C6.A similar pattern was noted, though with slightly decreased correlation coefficients, in both the SVM and BT models Fig. 5c and d.The SVM excels in classication and regression tasks within high-dimensional contexts, adeptly managing complex input variables even when features outnumber samples.In the SVM model, the C5 combination showed a strong R of 0.959 with lower error metrics than other combinations in both verication and calibration phase, indicating efficient predictive accuracy.This makes SVM highly effective for elucidating the complex dynamics between input variables and micropollutant removal rates.Meanwhile, BT stand out for their capacity to reduce bias and variance, enhancing predictive precision, notably in linking complex inputs to micropollutant removal efficiency.C5 combination achieved a correlation coefficient (R) of 0.954, indicating a very high degree of linear correlation between the predicted and observed values in BT model.In the LR framework, models demonstrated linear correlations with the data combinations of C1, C2, and C5.The improved outcomes can be attributed to the distinct capabilities of each modeling approach: LR accurately depicted the dependent variable's variation via linear correlations with independent variables (Fig. 5b).SLR pinpointed critical subset of predictors affecting the dependent variable (Fig. 5e).In contrast, MLR comprehensively explored the dependent variable's linear relationships by including several independent variables (Fig. 5a).Among the LR framework, the L5-C5 combination showed the highest R (0.970), indicating strong predictive performance, followed by SLR-C2 (0.969).Conversely, MVR-C5 displayed a lower R value of 0.857.Other combinations, specically C3 and C6, also exhibited lower R values, suggesting weaker predictive capabilities.Fig. 6 presents a radar chart depicting the coefficient of determination (R 2 ) for a range of predictive models including NF-GP, NF-SC, LR, SLR, MVR, SVM and BT evaluated across six distinct combinations C1 to C6.As seen in Fig. 6(a-f), a consistent pattern of lesser R 2 value dispersion was observed for the LR paradigm of LR, SLR and MVR across data combinations C1 to C6.Among the combinations, C5 exhibited an enhanced coefficient of determination (R 2 ) of 0.94, 0.93 and 0.74 in the LR models of LR, SLR and MVR, respectively.The diminished R 2 values observed for other combinations may result from the intrinsic linear assumption within regression models (LR, SLR and MVR), which might prove inadequate for datasets characterized by complex, multidimensional constructs, and substantial data variability.Consequently, this limitation can impede the effective detection of the underlying patterns within the data.Enhanced predictive accuracy was noted for SVM and BT models in congurations C1, C2, C4, and C5, with R-squared values ranging from 0.856 to 0.923 for SVM and 0.880 to 0.909 for BT (Fig. 6(g-j)).The enhanced predictive accuracy of SVM and BT models, in comparison to conventional LR framework (LR, SLR and MVR), is primarily due to their ability to model non-linear relationships.SVM achieves this through the application of kernel functions, allowing for the accommodation of non-linear data patterns, while BT, leveraging its ensemble learning approach, signicantly improves data generalization.Another reason is SVM and BT model incorporate strategies to mitigate overtting; SVM utilizes regularization parameters to rene the margins, whereas BT employs boosting and bagging techniques to regulate tree depth.It was imperative to observe that NF models demonstrated signicantly improved prediction accuracy relative to other models for combinations C1, C2, C4, and C5 (Fig. 6k and l).The R-squared value of 0.965 for both NF- GP-C5 and NF-SC-C5 indicates a high predictive accuracy, with these models explaining a substantial proportion of the variance in the dependent variable.The improved prediction accuracy was due to the intrinsic structure of NF models is specically designed to address data uncertainty, utilizing the adjustment of fuzzy rules and membership functions to achieve a higher degree of model exibility.Through employing grid partitioning and subtractive clustering, NF models excel in the reduction of dimensionality, effectively isolating vital clusters in smaller datasets.The lower R 2 for the C6 combination across all ML models indicate that these models were less effective at explaining the variance in this conguration.

33Comparative analysis of predictive ML algorithm Fig. 7 shows the comparison of micropollutant rejection rate (%) data response and scatter plot for the superior predictive model of NF-GP-C5, LR-C5, SLR-C2, MVR-C5, SVM-C2 and BT-C5.From Fig. 7(a and b), the predictive model NF-GP-C5 demonstrated a high degree of t in the data response plot, achieving an optimal R-squared (R 2 ) value of 0.965 for the prediction of micropollutant rejection rate (%) under calibration phase.The scatter plot further substantiates this observation, with data points uniformly distributed along the line of agreement between observed and predicted values, underscoring the model's predictive precision.Similarly, the predictive models LR-C5 and SLR-C2 demonstrated a good level of agreement with the experimental data, as evidenced by their data response and scatter plot analyses (Fig. 7c-f).In the LR approaches, the models LR-C5, SLR-C2, and MVR-5 exhibited Rsquared (R 2 ) values of 0.940, 0.939, and 0.735, respectively.LR-C5 and SLR-C2 indicated that the model had linear correlation with the input variables of combination C5 and C2, respectively.The enhanced R 2 metrics in LR and SLR are attributable to their focus on maintaining simplicity and clarity within the model framework, consequently leading to improvements in the precision of predictions.The SVM-C2 model exhibited an R 2 of 0.923, showcasing substantial predictive precision (Fig. 7i and j).However, data points are clustered at the upper and lower boundaries of the dataset, suggesting potential limitations in the model's ability to uniformly predict across the entire range of data.This observed pattern in the SVM model can be attributed to inadequate generalization arising from its treatment of data points in proximity to the decision boundary.The BT-C5 model exhibited a minor deviation in data response yet demonstrated a commendable t, reected by an R 2 value of 0.909 (Fig. 7k and l).The scatter plot further revealed that the data distribution followed to a normal.Table 4 presents a comparison of the prediction performance of the superior performance model during the verication phase.As seen in Table 4, the NF-GP-C5 model emerged as the superior performer, achieving an R 2 value of 0.910, indicating a strong correlation between predicted and actual values.Additionally, the low RMSE of 2.653 and MAE of 0.217 demonstrate the model's accuracy in predicting rejection efficiency.The NF-GP model distinctive architecture, which combines neural networks with fuzzy logic, is particularly adept at managing complex, non-linear data with localized variations.This results in enhanced accuracy, improved interpretability, and minimal error metrics.

34The predictive performance of the ML algorithm in estimating micropollutant removal efficiency was benchmarked against existing literature.Xu et al. explored the use of the Lindeman-Merenda-Gold (LMG) model to assess the impact of input variables, including the physiochemical characteristics of six distinct NF membranes and micropollutants, as experimental parameters on the rejection rate (%). 44The factor analysis associated with the LMG model revealed that membrane pore size and TMP have signicant contribution in the micropollutant rejection.The predictive analysis conducted using the Random Forest Regression (RFR) model for optimizing the rejection prediction model yielded a R 2 of 0.73, with the MAE and RMSE recorded at 6.92%, and 12.22% respectively.Zhu et al., compared the 10 ML algorithm including MLR, Bayesian regression (Bayes), SVM, ANN, extreme learning machine (ELM), and kNN and RF, GBDT, XGBoost and LightGBM for the effective prediction of micropollutant rejection rate (%) under forward osmosis (FO) operation. 45XGBoost-18 model, enhanced with SHAP, exhibited a coefficient of determination (R 2 ) of 98% in predicting the micropollutant rejection rate (%), considering 18 signicant factors related to the membrane, micropollutant, and experimental conditions.Mousavi and Sajjadi compared the ANN-quantitative structure-activity relationship (QSAR) model strategy for the prediction of 72 micropollutant removal rate in RO membranes. 46The ANN-QSAR model outperformed the MLR model, achieving higher accuracy with a R 2 of 0.95 and a lower RMSE of 6.4224.Teychene et al., conducted research using a decision tree model to assess the performance of reverse osmosis (RO) and nanoltration (NF) membranes in removing 22 different polar micropollutants, focusing on the removal rate (%). 47The decision tree analysis indicated that NF membrane separation is predominantly inuenced by electrostatic interactions and size exclusion phenomena, while the RO membrane performance is chiey determined by the diffusive transport of polar micropollutants.The present study into both supervised and unsupervised learning models, specically NF-GP-C5, NF-SC-C5, SVM-C2, and BT-C5, demonstrated comparable predictive accuracies with minimal error margins, with NF-GP-C5 exhibiting the most superior predictive performance over all the combinations.This research indicated that employing feature engineering in conjunction with ML techniques shows promise for selecting optimal combinations of input variables, thereby achieving high prediction accuracy.Predicting micropollutant rejection efficiency may enable the design of membranes with optimal pore sizes, enhancing clean water production efficiency.Additionally, optimizing experimental conditions based on these predictions can reduce energy consumption and operational costs.

Conclusions

35The ML algorithm including NF-GP, NF-SC, LR, SLR, MVR, SVM and BT ML were adeptly modeled and predicted the micropollutant removal efficiency, considering the inuence of 14 input variables based on the inuence of membrane characteristics, micropollutant properties, and ltration conditions.The feature engineering analysis revealed that a strategic combination of micropollutant property models holds signicant potential in inuencing and controlling the ltration performance of customdesigned functional membranes.MaxP, MinP, MW, and CS are dominant factors, attributed to their role in dictating the ltration mechanism of adsorption or sieving tendencies within the functional membrane.An inverse relationship was noted among crucial input variables, including K ow , MWCO, MCA, TMP, and C 0 .The constrained variability and scope of data points, in conjunction with intricate data distributions, can veil fundamental patterns, thus hindering the elucidation of denitive correlations.Among the combination, C5 showed demonstrated enhanced predictive capability for micropollutant removal rate efficiency under ML tools.Optimal prediction accuracy for rejection efficiency was attained using a NF-GP model, characterized by an optimal parameter setting with an R 2 value of 0.965 and both RMSE and MAE values at 3.65.NF-GP and NF-SC showed superior predictive in rejection across all six combinations.SVM and BT excel over LR by adeptly managing non-linear data, offering greater exibility, reducing overtting, thriving in high-dimensional scenarios, and achieving better generalization.

36The modeling approach highlighted that adaptations in data combinations signicantly inuence the input variables, as revealed through feature engineering analysis.Feature engineering, combined with ML algorithms, exhibited exceptional capability in underlying intricate patterns within micropollutant properties, membrane attributes, and experimental conditions.This ML algorithm would prospect for employing sparse datasets to precisely predict the efficacy of membrane performance.

Scheme 1

37Scheme 1 Schematic of SVM, BT and NF model structure.

Fig. 2

38Fig. 2 Correlation analysis of input variables on micropollutant rejection rate.

Fig. 3

39Fig. 3 Parametric dependency analysis of input variables on micropollutant rejection rate.

Fig. 4

40Fig. 4 Comparison of MAE and RMSE data for predictive ML models assessed on calibration and verification datasets across six combinations.(a and b) MAE and RMSE assessments for the NF-GP and NF-SC models prediction; (c and d) MAE and RMSE for the LR model predictions; (e and f) MAE and RMSE for the SLR model predictions; (g and h) MAE and RMSE for the MVR model predictions; (i and j) MAE and RMSE for the SVM model predictions; and (k and l) MAE and RMSE for the BT model predictions during both calibration and verification phases.

Fig. 5

41Fig. 5 Taylor plot illustrating the correlation coefficients (R) for different predictive ML models across six combinations.(a) R evaluation for the MVR model prediction; (b) R for the LR model predictions; (c) R for the BT model predictions; (d) R for the SVM model predictions; (e) R for the SLR model predictions; and (f) R for the NF-GP and NF-SC models predictions.

Fig. 6

42Fig. 6 Radar chart illustrating the comparison of coefficient of determination (R 2 ) across six distinct combinations for various predictive models.(a and b) R 2 assessments for the LR model prediction; (c and d) R 2 for the MVR model predictions; (e and f) R 2 for the SLR model predictions; (g and h) R 2 for the BT model predictions; (i and j) R 2 for the SVM model predictions; and (k and l) R 2 for the NF-GP and NF-SC models prediction predictions during both calibration and verification phases.

Fig. 7

43Fig. 7 Comparison of micropollutant rejection rate (%) data response alongside a scatter plot illustrating the performance of the superior predictive models NF-GP-5 (a and b), LR-C5 (c and d), SLR-C2 (e and f), MVR-C5 (g and h), SVM-C2 (i and j) and BT-C5 (k and l).

Table 1

44Recent ML approach in low pore size (NF and RO) membrane separation for micropollutant removal

45K ow , CS, MinP, and MaxP), functionalized membrane (MWCO, MCA, MC, TC) and experimental parameters (TMP, T and C 0 ).The deployed ML tools are NF, LR, SLR, MVR, SVM and BT.Fig.2shows the parametric dependency analysis between the 14 input variables and rate of micropollutant removal.The model congurations are classi-ed according to the hierarchical value of the correlation between the input variable and the targeted micropollutant removal rate (%).It is important to note that model selection is a crucial step in building a predictive model, as it ensures that the selected features signicantly contribute to the accuracy and reliability of the predictions.By carefully analyzing the dependency between various variables and the target variable (RR), we can identify and prioritize those that have the most

46© 2024 The Author(s).Published by the Royal Society of Chemistry RSC Adv., 2024, 14, 19331-19348 | 19337 Paper RSC Advances micropollutant (pH, MW, CC, (0.186).C3 included both direct and indirect variables with correlations between 50-60%, such as CC (0.317) and MC (0.208).In C4, we considered both direct and indirect variables with correlations ranging between 10-20%, including MCA

Table 2

47Evaluating statistical indicators and error metrics for ML algorithms predicting micropollutant rejection rates (%)

Table 3

48Impact of descriptive statistics and subset data of input variables for micropollutant removal rate

Table 4

49Comparison of superior predictive performance of the NF-GP-5, LR-C5, SLR-C2, MVR-C5, SVM-C2 and BT-C5 models

참고문헌 45건

  1. Crosslinked cellulose thin film composite nanofiltration membranes with zero salt rejection Journal of Membrane Science · Elsevier BV · 2015 10.1016/j.memsci.2015.05.002
  2. Novel thin-film composite nanofiltration hollow fiber membranes with double repulsion for effective removal of emerging organic matters from water Journal of Membrane Science · Elsevier BV · 2012 10.1016/j.memsci.2012.01.046
  3. ANFIS: adaptive-network-based fuzzy inference system IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1993 10.1109/21.256541
  4. A review on the occurrence of micropollutants in the aquatic environment and their fate and removal during wastewater treatment The Science of The Total Environment · Elsevier BV · 2014 10.1016/j.scitotenv.2013.12.065
  5. An improvement to MLR model for predicting liquefaction-induced lateral spread using multivariate adaptive regression splines Engineering Geology · Elsevier BV · 2013 10.1016/j.enggeo.2013.12.003
  6. Superhydrophilic and antibacterial zwitterionic polyamide nanofiltration membranes for antibiotics separation Journal of Membrane Science · Elsevier BV · 2016 10.1016/j.memsci.2016.02.070
  7. Perfluorooctane sulfonate and perfluorobutane sulfonate removal from water by nanofiltration membrane: The roles of solute concentration, ionic strength, and macromolecular organic foulants Chemical Engineering Journal · Elsevier BV · 2017 10.1016/j.cej.2017.09.061
  8. Linear regression and the normality assumption Journal of Clinical Epidemiology · Elsevier BV · 2017 10.1016/j.jclinepi.2017.12.006
  9. Effects of organic fouling and cleaning on the retention of pharmaceutically active compounds by ceramic nanofiltration membranes Journal of Membrane Science · Elsevier BV · 2018 10.1016/j.memsci.2018.06.047
  10. A comprehensive study on estimating higher heating value of biomass from proximate and ultimate analysis with machine learning approaches Energy · Elsevier BV · 2019 10.1016/j.energy.2019.116077
  11. Removal of organic micropollutants using advanced membrane-based water and wastewater treatment: A review Journal of Membrane Science · Elsevier BV · 2019 10.1016/j.memsci.2019.117672
  12. Toward a Global Understanding of Chemical Pollution: A First Comprehensive Analysis of National and Regional Chemical Inventories Environmental Science & Technology · American Chemical Society · 2020 10.1021/acs.est.9b06379
  13. Investigation of polar mobile organic compounds (PMOC) removal by reverse osmosis and nanofiltration: rejection mechanism modelling using decision tree Water Science & Technology Water Supply · IWA Publishing · 2020 10.2166/ws.2020.020
  14. High performance polyamide nanofiltration membranes enabled by surface modification of imidazolium ionic liquid Journal of Membrane Science · Elsevier BV · 2020 10.1016/j.memsci.2020.118202
  15. Designing exceptional gas-separation polymer membranes using machine learning Science Advances · American Association for the Advancement of Science · 2020 10.1126/sciadv.aaz4301
  16. Organic pollutants in protected plain areas: The occurrence of PAHs, musks, UV-filters, flame retardants and hydrocarbons in woodland soils The Science of The Total Environment · Elsevier BV · 2021 10.1016/j.scitotenv.2021.149003
  17. Predicting Micropollutant Removal by Reverse Osmosis and Nanofiltration Membranes: Is Machine Learning Viable? Environmental Science & Technology · American Chemical Society · 2021 10.1021/acs.est.1c04041
  18. An integrated approach for chemical water quality assessment of an urban river stretch through Effect-Based Methods and emerging pollutants analysis with a focus on genotoxicity Journal of Environmental Management · Elsevier BV · 2021 10.1016/j.jenvman.2021.113549
  19. Machine Learning Assisted Screening of Two-Dimensional Materials for Water Desalination ACS Nano · American Chemical Society · 2022 10.1021/acsnano.1c05345
  20. Occurrence, toxicity impacts and mitigation of emerging micropollutants in the aquatic environments: Recent tendencies and perspectives Journal of environmental chemical engineering · Elsevier BV · 2022 10.1016/j.jece.2022.107598
  21. Enhanced understanding of osmotic membrane bioreactors through machine learning modeling of water flux and salinity The Science of The Total Environment · Elsevier BV · 2022 10.1016/j.scitotenv.2022.156009
  22. Removal of emerging organic micropollutants via modified-reverse osmosis/nanofiltration membranes: A review Chemosphere · Elsevier BV · 2022 10.1016/j.chemosphere.2022.135151
  23. Machine learning models for biomass energy content prediction: A correlation-based optimal feature selection approach Bioresource Technology Reports · Elsevier BV · 2022 10.1016/j.biteb.2022.101167
  24. Nanocomposite Polymeric Membranes for Organic Micropollutant Removal: A Critical Review ACS ES&T Engineering · American Chemical Society · 2022 10.1021/acsestengg.2c00201
  25. On stepwise regression arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1605.04542
  26. Prediction of organic contaminant rejection by nanofiltration and reverse osmosis membranes using interpretable machine learning models The Science of The Total Environment · Elsevier BV · 2022 10.1016/j.scitotenv.2022.159348
  27. Boosting the Performance of Nanofiltration Membranes in Removing Organic Micropollutants: Trade-Off Effect, Strategy Evaluation, and Prospective Development Environmental Science & Technology · American Chemical Society · 2022 10.1021/acs.est.2c06579
  28. Machine learning-based real-time prediction of micropollutant behaviour in forward osmosis membrane (waste)water treatment Journal of Cleaner Production · Elsevier BV · 2023 10.1016/j.jclepro.2023.136023
  29. Explainable machine learning for unraveling solvent effects in polyimide organic solvent nanofiltration membranes Advanced Membranes · Elsevier BV · 2023 10.1016/j.advmem.2023.100061
  30. Removal of pharmaceutically active compounds from water sources using nanofiltration and reverse osmosis membranes: Comparison of removal efficiencies and in-depth analysis of rejection mechanisms Journal of Environmental Management · Elsevier BV · 2023 10.1016/j.jenvman.2023.117682
  31. Machine-learning-based prediction and optimization of emerging contaminants' adsorption capacity on biochar materials Chemical Engineering Journal · Elsevier BV · 2023 10.1016/j.cej.2023.143073
  32. Experiments and machine learning-based modeling for haloacetic acids rejection by nanofiltration: Influence of solute properties and operating conditions The Science of The Total Environment · Elsevier BV · 2023 10.1016/j.scitotenv.2023.163610
  33. Ensemble machine learning reveals key structural and operational features governing ion selectivity of polyamide nanofiltration membranes Desalination · Elsevier BV · 2023 10.1016/j.desal.2023.116748
  34. The recent advances in adsorption and membrane separation and their hybrid technologies for micropollutants removal from wastewater Journal of Industrial and Engineering Chemistry · Elsevier BV · 2023 10.1016/j.jiec.2023.06.034
  35. In-situ modification of nanofiltration and reverse osmosis membranes for organic micropollutants and salts removal: A review Desalination · Elsevier BV · 2023 10.1016/j.desal.2023.116861
  36. Predicting rejection of emerging contaminants through RO membrane filtration based on ANN-QSAR modeling approach: trends in molecular descriptors and structures towards rejections RSC Advances · Royal Society of Chemistry · 2023 10.1039/d3ra03177b
  37. Assessment of organic micropollutants rejection by forward osmosis system using interpretable machine learning-assisted approach: A new perspective on optimization of multifactorial forward osmosis process Journal of environmental chemical engineering · Elsevier BV · 2023 10.1016/j.jece.2023.110847
  38. Machine learning toward improving the performance of membrane-based wastewater treatment: A review Advanced Membranes · Elsevier BV · 2023 10.1016/j.advmem.2023.100072
  39. Mechanisms and models for water transport in reverse osmosis membranes: history, critical assessment, and recent developments Chemical Society Reviews · Royal Society of Chemistry · 2023 10.1039/d3cs00395g
  40. Predication of entropy generation rate in a concentrating photovoltaic thermal system with twisted tube turbulator using Boosted regression tree algorithm Case Studies in Thermal Engineering · Elsevier BV · 2023 10.1016/j.csite.2023.103729
  41. Micropollutant rejection by nanofiltration membranes: A mini review dedicated to the critical factors and modelling prediction Environmental Research · Elsevier BV · 2023 10.1016/j.envres.2023.117935
  42. Evaluation of nanofiltration and reverse osmosis membranes for efficient rejection of organic micropollutants Journal of Membrane Science · Elsevier BV · 2023 10.1016/j.memsci.2023.122357
  43. A holistic framework for improving the prediction of reverse osmosis membrane performance using machine learning Desalination · Elsevier BV · 2023 10.1016/j.desal.2023.117253
  44. Understanding Rejection Mechanisms of Trace Organic Contaminants by Polyamide Membranes via Data-Knowledge Codriven Machine Learning Environmental Science & Technology · American Chemical Society · 2024 10.1021/acs.est.3c08523
  45. Evaluating the efficiency of nanofiltration and reverse osmosis membranes for the removal of micro-pollutants using a machine learning approach Case Studies in Chemical and Environmental Engineering · Elsevier BV · 2024 10.1016/j.cscee.2024.100750