An artificial intelligence approach for modeling the rejection of anti-inflammatory drugs by nanofiltration and reverse osmosis membranes using kernel support vector machine and neural networks
간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (18) VENT(방수통기 부품)
기본 정보
- 저자
- DOI
- 10.5802/crchim.76
- 저널
- Comptes Rendus Chimie
- 발행년도
- 2021
- 발행기관
- Elsevier BV
- 피인용수
- 6
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.5802/crchim.76
- 토픽
- Membrane Separation Technologies
- OpenAlex ID
- W3165865486
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- (18) VENT(방수통기 부품)
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- nanofiltration, reverse osmosis, membranes, artificial neural network, support vector machine
- 판단 근거
- 이 논문은 나노여과(NF) 및 역삼투(RO) 분리막을 통한 약물 제거율을 인공지능(ANN, SVM)으로 모델링하는 연구입니다. 코오롱인더스트리의 수소연료전지용 중공사막(5) 및 방수통기용 멤브레인(18) 연구에 활용 가능한 분리막 성능 예측 및 데이터 분석 방법론을 다루고 있습니다.
- R&D 활용 포인트
- 분리막의 기공 구조, 접촉각, 제타 전위 등 물리화학적 특성과 투과/제거 성능 간의 상관관계를 AI 모델로 예측함으로써, 신규 멤브레인 설계 및 공정 최적화 시간을 단축하는 데 활용할 수 있습니다.
- 평가 입력
- 본문 38,613자 중 30,032자 발췌
초록
본문 38,613자
본문 펼치기
섹션 본문 169문단 · 64,912자
(제목 없음)
1The rejection of anti-inflammatory drugs by membranes has shown paramount importance in separation membrane processes such as nanofiltration and reverse osmosis (NF/RO) membranes for pharmaceutical industries.Therefore, the main objective of this paper is to use support vector machine (SVM) and artificial neural network (ANN) to model the rejections of anti-inflammatory drugs by NF/RO membranes using 300 experimental data points gathered from the literature.Both approaches (ANN and SVM) gave close results with a slight superiority of the neural networks model demonstrated by its correlation coefficient (R) and root mean square error (RMSE) values of 0.9930 and 1.8094% respectively, in contrast to 0.9900 and 2.2355% for SVM.Sensitivity analysis by the weight method demonstrates that the most relevant variables that influence the rejection of antiinflammatory drugs are: effective diameter of an organic compound in water "d c ", molecular length, contact angle, and zeta potential.These input relevant variables have a significant contribution (relative importance superior to 10%).
Introduction
2The dramatic rise in demand for freshwater worldwide, due to continued population growth has been posing challenges in the last few decades through increased water stress, both in terms of water scarcity and quality deterioration [1].On earth, the main sources of drinking water are groundwater and surface water.Industrial, domestic, agricultural activities, and in particular pharmaceutically active compounds (PhACs), increasingly contaminate water in large amounts every year.The conventional biological treatment processes do not tend to reject such organic molecules [2].
3In the last few years, nanofiltration and reverse osmosis (NF/RO) membranes have been the object of several studies [3], as an alternative to conventional treatment processes since they are energyefficient and environment-friendly. Furthermore, many research works based on the use of NF/RO have demonstrated that they are efficient for the rejection of a wide variety of organic molecules from water, such as pesticides [4,5], dyes [6,7], antibiotics [8,9], a natural hormone and endocrine disruptor [10,11] and PhACs [2,12].
4The literature highlights several points.Firstly, many transfer models exist (irreversible thermodynamics, solubilization-diffusion, or pore flow), but they do not always describe or explain the process correctly and the results obtained in the case of the transfer of organic compounds require significant modifications.The behavior of the NF/RO process for complex solutions is more difficult to describe and predict, due to the large number of mechanisms involved.On the other hand, many interactions can be established between solutes, water, and the membrane (steric dimensions, electrostatic repulsion, hydrophobic/adsorption, and dielectric exclusion) [13,14].
5To overcome these problems, attempts have been made to propose modeling approaches, making it possible to decrease the number of experiments to be carried out to determine the optimal parameters (anti-inflammatory drugs properties, membrane properties, and operating conditions) for the treatment of industrial effluent.For these reasons, we must research new methods of calculation and modeling such as artificial neural network (ANN) and support vector machine (SVM) models.Firstly, the main advantage of ANNs is their ability to model processes without having in-depth knowledge of the phenomenology involved.Secondly, SVMs aim for regression and classification due to their excellent and robust generalization performance.
6However, there have been few models of ANNs due to the complexity of mechanisms to predict the rejection of organic compounds by NF/RO [15][16][17][18][19][20][21][22].There is no modeling study for the rejection of organic compounds by NF/RO membranes using SVMs.
7In this work, an attempt will be made to estimate the rejection of anti-inflammatory drugs by NF/RO using two artificial intelligence approaches (ANNs and SVM).A similar set of inputs is considered for the two approaches that include an effective diameter of the organic compound in water "d c ", logD, dipole moment, molecular length, molecular equivalent width, molecular weight cutoff, sodium chloride salt rejection, zeta potential, contact angle, pH, pressure, temperature, and recovery.
8To the best of our knowledge, this will be the first attempt to model the anti-inflammatory drug rejection mechanisms by NF/RO using the SVM and ANN in order to assess their predictive capacities.The remainder of this study is structured as follows: Section 2 includes the machine learning techniques (ANNs and SVMs).Section 3 describes the modeling of the rejection of anti-inflammatory drug.Results and discussion are presented in Section 4. We will end with a conclusion that brings together the main results obtained in Section 5.
Artificial intelligence approach "ANN and SVM"
9ANN is one of the most appropriate machine learning methods.It is inspired by natural neurons; ANNs are a mesh of several formal connected neurons that relate the inputs to the desired outputs.ANNs consist of both input and output layers and can have a hidden layer (in many cases) that contain units that convert the input into something, which could be used, by the output layer [23].The input and output variables are weighted and shifted by a bias factor specific to each neuron [24].
10In 1990 Vapnik-Chervonenkis developed an excellent methodology of SVM.This method is based on statistical learning theory (SLT), it implements structural risk minimization (SRM) theory.It is used for nonlinear classification and regression analysis [24].The sketch map of the SVM model is shown in Figure 1.The nonlinear relationship between inputs and outputs in the SVM model can be employed by the regression function.
11The outputs of the SVM model are obtained by the following equation [25]:
12where f (x i ): the predicted value of the SVM model; ϕ(x i ): the nonlinear function that maps input finitedimensional space into a higher-dimensional space which is implicitly created; w: the weight vector of the SVM model to be optimized; b: the bias of the SVM model to be optimized.The database has a D-dimensional input vector x i ∈ R D and a scalar output y i ∈ R.
13The SVM optimization model is given by the following equations (for the training database):
14where C : is the parameter used to balance the empirical risk and model complexity term w 2 ; ξ * i : the slack variable to denote the distance of the i th sample outside of the ε-tube; ε: epsilon = 0.100; v: vector.
15As a standard nonlinear constrained optimization problem, the above problem can be resolved by constructing the dual optimization problem based on the Lagrange multipliers techniques:
16subjective to :
17(3) K (x i , x j ): the kernel function satisfying the Mercer's condition; a i and a * i : the non-negative Lagrange multipliers, respectively.
Modeling the rejection of antiinflammatory drugs
18The data sample with 300 rejections of 7 antiinflammatory drugs used in this study is available in the literature [16,[26][27][28][29][30][31][32][33][34][35][36][37][38] (Supplementary data A).
19The list of anti-inflammatory drugs, molecular formula, molecular weight, and structure is presented in Supplementary data B (Table B.1).The choice of input and output variables was based on the sieving effect, electrostatic interactions, and hydrophobic/adsorption interactions between solutes and NF/RO membranes.These solutemembrane interactions are determined by antiinflammatory drugs properties, membrane characteristics, and filtration conditions.In this work, we have chosen the following inputs: anti-inflammatory drug properties (logD, dipole moment, the effective diameter of the organic compound in water "d c ", molecular length, and molecular equivalent width "eqwidth"); membrane characteristics (molecular weight cutoff "MWCO", sodium chloride salt rejection "SR (NaCl)", zeta potential, and contact angle); and filtration conditions (pH, pressure, temperature, and recovery).
20The statistical analysis of the input and output data was done in terms of the minimum "min", the average "mean", the maximum "max".The standard deviations "STDs" for training data, testing data, and overall data are mentioned in the Supplementary data B (Table B
.2).
21A procedure based on the development and optimization of the architecture of ANNs and SVM is described in Figure 2, in the design of three ANNs models and four SVM models.The ANN model was developed for the total database.The samples were randomly split into two subsets (training phase and testing phase).The training algorithm used in this work is the BFGS quasi-Newton (trainbfg).The ANN con- tains three layers: one input layer with thirteen neurons in the input layer, one hidden layer with several active neurons optimized during the training phase, and one output layer with one unit that generated the estimated value of rejection of anti-inflammatory drugs.The number of hidden neurons varied from 3 to 25 neurons.The tangent sigmoid (tansig), the log sigmoid (logsig), sin, and the exponential transfer functions were used in the hidden layer.The choice of the optimal number of hidden neuron of hidden functions, and a division of subsets (optimal architecture) for ANNs was performed by trial and error.The pure-linear (purelin) transfer function was used in the output layer.In order to develop four SVM models for the rejection of anti-inflammatory drugs by NF/RO, the SVM learning technique is employed.As mentioned previously in this article, the choice of the kernel functions is crucial for model performance.STATISTICA SVM supports a number of kernel functions for use in SVM models, these include linear, polynomial, radial basis function (RBF), and sigmoid.The function that gave the best results in terms of the absolute error mean (AEM) and correlation coefficient (R) is the kernel used in our SVM modeling.The creation of ANNs and SVM models of the rejection of anti-inflammatory drugs by NF/RO was performed using STATISTICA software by trial and error method.
Results and discussion
22Figure 3 shows the error values (mean squared error "MSE" and coefficient of correlation "R") obtained for the rejection of anti-inflammatory drugs under the influence of the division of the database for ANNs model with division 1 (240 points for training (80%), and 60 for testing phase (20%)), division 2 (210 points for training (70%), and 90 for testing (30%)), and division 3 (180 points for training (60%), and 120 for testing (40%)).This figure demonstrates that division 1 has lower MSE than division 2 and 3 (MSE = 0.0001 and MSE = 0.0002 for training and testing phase respectively).The coefficients of correlation of division 1 are generally considered to be more satisfactory than the divisions 2 and 3 (R = 0.9942 and R = 0.9853 for training and testing phase respectively).Therefore, it is clear that the first division represents the best result for modeling the rejection of anti-inflammatory drugs by NF/RO using the ANN model.
23Hence, the structure of the ANNs for the modeling of the rejection of anti-inflammatory drugs by NF/RO is mentioned in Figure 4. Its more detailed architecture is illustrated in Table 1.From the optimized ANNs models shown in Figure 4, assimilation of the rejection of antiinflammatory drugs by NF/RO can be depicted by a mathematical model incorporating all inputs E i , it is given by the following equations:
24The instance outputs Z j of the hidden layer:
25where j = 1, 2, . . ., 25.
26The output "Rejection"
27(6) The combination of ( 5) and ( 6) leads to the following mathematical formula which describes the rejection of inflammatory drug by taking into account all inputs.
28In order to assess the predictive ability of the ANN model, the training, the testing, and the total phases are analyzed.The plot of the predicted versus experimental rejection of anti-inflammatory drugs and the parameters of the linear regression are directly obtained using the Matlab function "postreg".
29Figure 5 shows the predicted vs experimental data agreement plot: (a) for the training phase, (b) for the testing phase, and (c) for the total phase.The errors of the ANNs model for the train-ing phase, testing phase, and total phase are: the correlation coefficient (R), the mean absolute error (MAE), the model predictive error (MPE), the root mean squared error (RMSE), the standard error of prediction (SEP), residual predictive deviation (RPD), and range error ratio (RER).The errors calculated confirm the prediction capacity of the rejection of anti-inflammatory drugs by NF/RO membrane.Equations of those parameters are given below [19]:
30where n is the total number of data points; Y i ,exp is the experimental value, Y i ,cal represents the calculated value from the ANN model, Y e is the mean value of experimental data.STD is the standard deviation of experimental data, Min is the minimum of experimental data, and Max is the maximum of experimental data.
31The statistical parameters of the ANNs model for the phases concerning the training, testing, and total are shown in Table 2.The correlation coefficient (R) for the training phase is 0.9942, which indicates excellent agreement.The testing phase correlation coefficient represents a comparison between the experimental data and predicted results in order to show the interpolating ability of the ANNs model.For the testing phase, the correlation coefficient is 0.9853, which demonstrates the good agreement between the experimental rejections and the predicted rejections.
32The contribution of the input variables (dc, logD, length, Eqwidth, MWCO, SR(NaCl), contact angle, Zeta potential, pH, pressure, recovery, and temperature) on the output (rejection) was determined by a sensitivity analysis using the "Weight" method.This method, proposed initially by Garson [39] and repeated by Goh [40] provides a quantification of the relative importance (RI) of the inputs on the output of the ANNs model.It is based on the partitioning of connection weights to:
33• Connection weights of input-hidden;
34• Connection weights of hidden-output.
35The RI of all output weights attributable to the given input variable is then obtained by the two following equations:
36The contribution results are shown in Figure 6.The most important variables that may influence the rejection of anti-inflammatory drugs by NF/RO are contact angle, Zeta potential, dc, length, SR(NaCl), pressure, pH, MWCO, dipole moment, recovery, logD, eqwidth, Temperature.All input relevant variables have a significant contribution (RI > 2%).This sensitivity analysis by the weight method successfully identified the true importance of all the variables used for the modeling of the rejection of antiinflammatory drugs by NF/RO, and therefore, proves the correctness of the choice of variables that were used in this study.
37In this study, the same database employed to build the ANNs model is used for building the SVM for modeling the rejection of anti-inflammatory drugs by NF/RO.The SVM model generates a nonlinear relationship between the inputs (dc, logD, length molecular, Eqwidth, MWCO, SR(NaCl), contact angle, Zeta potential, pH, pressure, recovery, and temperature) and the output (rejection).
38Table 3 presents the comparison between the different kernel functions (linear, polynomial, radial basis function (RBF), and sigmoid).The mean absolute errors of the SVM model with RBF (MAE = 1.3179% for training phases, MAE = 2.0162% for the testing phase, and MAE = 1.4576% for overall phase) are lower than the mean absolute errors of SVM models with other kernel functions (linear, polynomial, and sigmoid) for all phases (training, testing, and overall).The correlation coefficients for the SVM model with RBF function are: 0.9934 for training phases, 0.9711 for testing phases, and 0.9899 for the total phase.These correlation coefficients are approaching the ideal (R = 1) unlike the correlation coefficients of SVM models with other kernel functions (linear, polynomial, and sigmoid).It can be seen that the SVM model with RBF function is more powerful and effective than the SVM models with (linear, polynomial, and sigmoid).Also, it is clear that the RBF kernel function is more appropriate to describe the rejection of anti-inflammatory drugs by NF/RO using an SVM model.The RBF is by far the most popular choice of kernel functions (linear, polynomial, and sigmoid) used in the SVM model.
Comparison of models
39The ANNs and the SVM models developed in this work for the estimation of the rejection of antiinflammatory drugs by NF/RO are compared in terms of certain statistical parameters for the determination of model performance.The evaluation criteria listed above are the correlation coefficient (R), the mean absolute error (MAE), the model predictive error (MPE), the root mean squared error (RMSE), the standard error of prediction (SEP), residual predictive deviation (RPD), and Range Error Ratio (RER).These errors are calculated for the evaluation of the accurate predictions of each model.In addition, other evaluation terms are considered, namely, the mean square error (MSE), the mean relative squared error (MRSE), the relative absolute error (RAE), the accuracy factor (A f ), and bias factor (B f ) all of which are given by the following equations [24]:
40The values of the twelve statistical evaluation indices of the two models discussed in this work for prediction (training, testing, and total phases) are shown in Table 4. Firstly, the ANNs model has small errors compared to the SVM model in the training phase, the testing phase, and the total phase (R = 0.9930, MAE = 1.1236%,MPE = 1.4184%,RMSE = 1.8094%,SEP = 1.9926%,MSE = 3.2741%, MRSE = 3.6182×10 −7 %, RAE = 6.0151×10 −4 %, A f = 1.0005%, and B f = 1.0005% for the total phase).
41On the other hand, we adopted the five-level interpretations of Residual Predictive Deviation "RPD" and Range Error Ratio "RER" provided by Viscarra Rossel: excellent predictions (RPD and RER > 2.5); good (RPD and RER of 2.0 to 2.5); approximate quantitative predictions (RPD and RER of 1.8 to 2.0); possibility to distinguish high and low values (RPD and RER of 1.4 to 1.8); and unsuccessful (RPD and RER < 1.40) [22,41].The RPD and RER of the ANNs and SVM models are higher than 2.5 (RPD = 8.4808% and RER = 54.5525% for ANN; RPD = 6.8644% and RER = 15.3455% for SVM) for the total phase.Based on RMSE, it can be seen that the ANN based model surpassed the SVM model.Moreover, the values of R, MAE, MPE, SEP, RPD, RER, MSE, MRSE, RAE, A f , and B f (for the training phases, for the testing phase, and for the total phase) in addition to the RMSE imply that the ANNs have more predictive power than the SVM model proposed in this work.They allow the representation of the nonlinear relationship between the rejection of the anti-inflammatory drugs and NF/RO.
Conclusions
42In this study, two models (ANN and SVM) were developed for modeling the 300 rejections by NF/RO of seven anti-inflammatory drugs.The sensitivity analysis by weight method identified that the most important variables that influence the rejection are: d c , molecular length, contact angle, and zeta potential.These input relevant variables have a significant contribution (relative importance RI > 10%).Experimental data was selected from the literature and closely analyzed statistically.
43Both the artificial intelligence approaches (ANN and SVM) show good correlative and predictive accuracy to describe the rejections of anti-inflammatory drugs by NF/RO.The statistical comparison between the two different models reveals the good performance of the ANN model for predicting the rejections of anti-inflammatory drugs.Furthermore, the ANN model (correlation coefficient R = 0.9930 and RMSE = 1.8094% for total phase) outperformed the SVM model with a total, correlation coefficient R of 0.9900, and a root means squared error RMSE of 2.2355%.These results demonstrate the superiority of ANN to describe the rejection of anti-inflammatory drugs by NF/RO.
Figure 1 .
44Figure 1.The sketch map of the support vector machine (SVM) model.
Figure 2 .
45Figure 2. Flow diagram for the artificial neural network (ANN) and support vector machine (SVM) development.
Figure 3 .
46Figure 3.Effect of the of database: (a) mean squared error "MSE" and (b) coefficient of correlation "R".
Figure 4 .
47Figure 4. Schematic illustration of the optimized ANN model.
Figure 5 .
48Figure 5. Predicted vs experimental phase agreement plot: (a) for the training phase, (b) for the testing phase, and (c) a for the total phase.
49output values following exactly the trend of the experimental data values with an agreement vector approaching the ideal, [a (slope), b (intercept), R (correlation coefficient)] = [0.9859,1.2938, 0.9942], which demonstrates the predictive ability and accuracy of our model.The testing phase agreement scheme is mentioned in Figure 5b which illustrates the ANNs model calculated outputs versus the experimental data with an agreement vector [a (slope), b (intercept), R (correlation coefficient)] = [1.0148,−1.5758, 0.9853].It shows good robustness of the established ANN model and the possibility of predicting the different parameters that characterize the removal of anti-inflammatory drugs by NF/RO.The total phase agreement scheme is shown in Figure 5c which illustrates the ANNs model calculated outputs versus the experimental data with an agreement vector, [a (slope), b (intercept), R (correlation coefficient)] = [0.9892,0.9511, 0.9930].This reveals the excellent modeling of the whole data by the optimized network.
Figure 6 .
50Figure 6.The plot of the relative importance (RI) of the ANN model for modeling the rejection of anti-inflammatory drugs by NF/RO membranes.
Figure 7
51Figure 7 shows the total agreement plots for the rejections of anti-inflammatory drugs by NF/RO with agreement vectors approaching the ideal [α = 1 (slope), β = 0 (intercept), R = 1 (correlation coefficient)].The SVM model exhibited acceptable efficiency in correlating the training phase, confirmed by a correlation coefficient value of 0.9934 and a signifi-
Figure 7 .
52Figure 7. Predicted versus experimental data agreement plot: (a) for the training phase, (b) for the testing phase, and (c) for the total phase.
Table 1 .
53Structures of the optimized ANN model
Table 2 .
54Statistical parameters of the ANNs model
Table 3 .
55Evaluation of different SVM models using different kernels and optimal values of hyperparameters
56N°SV: Number of support vector.AEM: Absolute error mean.R: Correlation coefficient.
Table 4 .
57Statistical evaluation of the models' performance
Introduction
58The dramatic rise in demand for freshwater worldwide, due to continued population growth has been posing challenges in the last few decades through increased water stress, both in terms of water scarcity and quality deterioration [1].On earth, the main sources of drinking water are groundwater and surface water.Industrial, domestic, agricultural activities, and in particular pharmaceutically active compounds (PhACs), increasingly contaminate water in large amounts every year.The conventional biological treatment processes do not tend to reject such organic molecules [2].
59In the last few years, nanofiltration and reverse osmosis (NF/RO) membranes have been the object of several studies [3], as an alternative to conventional treatment processes since they are energyefficient and environment-friendly. Furthermore, many research works based on the use of NF/RO have demonstrated that they are efficient for the rejection of a wide variety of organic molecules from water, such as pesticides [4,5], dyes [6,7], antibiotics [8,9], a natural hormone and endocrine disruptor [10,11] and PhACs [2,12].
60The literature highlights several points.Firstly, many transfer models exist (irreversible thermodynamics, solubilization-diffusion, or pore flow), but they do not always describe or explain the process correctly and the results obtained in the case of the transfer of organic compounds require significant modifications.The behavior of the NF/RO process for complex solutions is more difficult to describe and predict, due to the large number of mechanisms involved.On the other hand, many interactions can be established between solutes, water, and the membrane (steric dimensions, electrostatic repulsion, hydrophobic/adsorption, and dielectric exclusion) [13,14].
61To overcome these problems, attempts have been made to propose modeling approaches, making it possible to decrease the number of experiments to be carried out to determine the optimal parameters (anti-inflammatory drugs properties, membrane properties, and operating conditions) for the treatment of industrial effluent.For these reasons, we must research new methods of calculation and modeling such as artificial neural network (ANN) and support vector machine (SVM) models.Firstly, the main advantage of ANNs is their ability to model processes without having in-depth knowledge of the phenomenology involved.Secondly, SVMs aim for regression and classification due to their excellent and robust generalization performance.
62However, there have been few models of ANNs due to the complexity of mechanisms to predict the rejection of organic compounds by NF/RO [15][16][17][18][19][20][21][22].There is no modeling study for the rejection of organic compounds by NF/RO membranes using SVMs.
63In this work, an attempt will be made to estimate the rejection of anti-inflammatory drugs by NF/RO using two artificial intelligence approaches (ANNs and SVM).A similar set of inputs is considered for the two approaches that include an effective diameter of the organic compound in water "d c ", logD, dipole moment, molecular length, molecular equivalent width, molecular weight cutoff, sodium chloride salt rejection, zeta potential, contact angle, pH, pressure, temperature, and recovery.
64To the best of our knowledge, this will be the first attempt to model the anti-inflammatory drug rejection mechanisms by NF/RO using the SVM and ANN in order to assess their predictive capacities.The remainder of this study is structured as follows: Section 2 includes the machine learning techniques (ANNs and SVMs).Section 3 describes the modeling of the rejection of anti-inflammatory drug.Results and discussion are presented in Section 4. We will end with a conclusion that brings together the main results obtained in Section 5.
Artificial intelligence approach "ANN and SVM"
65ANN is one of the most appropriate machine learning methods.It is inspired by natural neurons; ANNs are a mesh of several formal connected neurons that relate the inputs to the desired outputs.ANNs consist of both input and output layers and can have a hidden layer (in many cases) that contain units that convert the input into something, which could be used, by the output layer [23].The input and output variables are weighted and shifted by a bias factor specific to each neuron [24].
66In 1990 Vapnik-Chervonenkis developed an excellent methodology of SVM.This method is based on statistical learning theory (SLT), it implements structural risk minimization (SRM) theory.It is used for nonlinear classification and regression analysis [24].The sketch map of the SVM model is shown in Figure 1.The nonlinear relationship between inputs and outputs in the SVM model can be employed by the regression function.
67The outputs of the SVM model are obtained by the following equation [25]:
68where f (x i ): the predicted value of the SVM model; ϕ(x i ): the nonlinear function that maps input finitedimensional space into a higher-dimensional space which is implicitly created; w: the weight vector of the SVM model to be optimized; b: the bias of the SVM model to be optimized.The database has a D-dimensional input vector x i ∈ R D and a scalar output y i ∈ R.
69The SVM optimization model is given by the following equations (for the training database):
70where C : is the parameter used to balance the empirical risk and model complexity term w 2 ; ξ * i : the slack variable to denote the distance of the i th sample outside of the ε-tube; ε: epsilon = 0.100; v: vector.
71As a standard nonlinear constrained optimization problem, the above problem can be resolved by constructing the dual optimization problem based on the Lagrange multipliers techniques:
72subjective to :
73(3) K (x i , x j ): the kernel function satisfying the Mercer's condition; a i and a * i : the non-negative Lagrange multipliers, respectively.
Modeling the rejection of antiinflammatory drugs
74The data sample with 300 rejections of 7 antiinflammatory drugs used in this study is available in the literature [16,[26][27][28][29][30][31][32][33][34][35][36][37][38] (Supplementary data A).
75The list of anti-inflammatory drugs, molecular formula, molecular weight, and structure is presented in Supplementary data B (Table B.1).The choice of input and output variables was based on the sieving effect, electrostatic interactions, and hydrophobic/adsorption interactions between solutes and NF/RO membranes.These solutemembrane interactions are determined by antiinflammatory drugs properties, membrane characteristics, and filtration conditions.In this work, we have chosen the following inputs: anti-inflammatory drug properties (logD, dipole moment, the effective diameter of the organic compound in water "d c ", molecular length, and molecular equivalent width "eqwidth"); membrane characteristics (molecular weight cutoff "MWCO", sodium chloride salt rejection "SR (NaCl)", zeta potential, and contact angle); and filtration conditions (pH, pressure, temperature, and recovery).
76The statistical analysis of the input and output data was done in terms of the minimum "min", the average "mean", the maximum "max".The standard deviations "STDs" for training data, testing data, and overall data are mentioned in the Supplementary data B (Table B
.2).
77A procedure based on the development and optimization of the architecture of ANNs and SVM is described in Figure 2, in the design of three ANNs models and four SVM models.The ANN model was developed for the total database.The samples were randomly split into two subsets (training phase and testing phase).The training algorithm used in this work is the BFGS quasi-Newton (trainbfg).The ANN con- tains three layers: one input layer with thirteen neurons in the input layer, one hidden layer with several active neurons optimized during the training phase, and one output layer with one unit that generated the estimated value of rejection of anti-inflammatory drugs.The number of hidden neurons varied from 3 to 25 neurons.The tangent sigmoid (tansig), the log sigmoid (logsig), sin, and the exponential transfer functions were used in the hidden layer.The choice of the optimal number of hidden neuron of hidden functions, and a division of subsets (optimal architecture) for ANNs was performed by trial and error.The pure-linear (purelin) transfer function was used in the output layer.In order to develop four SVM models for the rejection of anti-inflammatory drugs by NF/RO, the SVM learning technique is employed.As mentioned previously in this article, the choice of the kernel functions is crucial for model performance.STATISTICA SVM supports a number of kernel functions for use in SVM models, these include linear, polynomial, radial basis function (RBF), and sigmoid.The function that gave the best results in terms of the absolute error mean (AEM) and correlation coefficient (R) is the kernel used in our SVM modeling.The creation of ANNs and SVM models of the rejection of anti-inflammatory drugs by NF/RO was performed using STATISTICA software by trial and error method.
Results and discussion
78Figure 3 shows the error values (mean squared error "MSE" and coefficient of correlation "R") obtained for the rejection of anti-inflammatory drugs under the influence of the division of the database for ANNs model with division 1 (240 points for training (80%), and 60 for testing phase (20%)), division 2 (210 points for training (70%), and 90 for testing (30%)), and division 3 (180 points for training (60%), and 120 for testing (40%)).This figure demonstrates that division 1 has lower MSE than division 2 and 3 (MSE = 0.0001 and MSE = 0.0002 for training and testing phase respectively).The coefficients of correlation of division 1 are generally considered to be more satisfactory than the divisions 2 and 3 (R = 0.9942 and R = 0.9853 for training and testing phase respectively).Therefore, it is clear that the first division represents the best result for modeling the rejection of anti-inflammatory drugs by NF/RO using the ANN model.
79Hence, the structure of the ANNs for the modeling of the rejection of anti-inflammatory drugs by NF/RO is mentioned in Figure 4. Its more detailed architecture is illustrated in Table 1.From the optimized ANNs models shown in Figure 4, assimilation of the rejection of antiinflammatory drugs by NF/RO can be depicted by a mathematical model incorporating all inputs E i , it is given by the following equations:
80The instance outputs Z j of the hidden layer:
81where j = 1, 2, . . ., 25.
82The output "Rejection"
83(6) The combination of ( 5) and ( 6) leads to the following mathematical formula which describes the rejection of inflammatory drug by taking into account all inputs.
84In order to assess the predictive ability of the ANN model, the training, the testing, and the total phases are analyzed.The plot of the predicted versus experimental rejection of anti-inflammatory drugs and the parameters of the linear regression are directly obtained using the Matlab function "postreg".
85Figure 5 shows the predicted vs experimental data agreement plot: (a) for the training phase, (b) for the testing phase, and (c) for the total phase.The errors of the ANNs model for the train-ing phase, testing phase, and total phase are: the correlation coefficient (R), the mean absolute error (MAE), the model predictive error (MPE), the root mean squared error (RMSE), the standard error of prediction (SEP), residual predictive deviation (RPD), and range error ratio (RER).The errors calculated confirm the prediction capacity of the rejection of anti-inflammatory drugs by NF/RO membrane.Equations of those parameters are given below [19]:
86where n is the total number of data points; Y i ,exp is the experimental value, Y i ,cal represents the calculated value from the ANN model, Y e is the mean value of experimental data.STD is the standard deviation of experimental data, Min is the minimum of experimental data, and Max is the maximum of experimental data.
87The statistical parameters of the ANNs model for the phases concerning the training, testing, and total are shown in Table 2.The correlation coefficient (R) for the training phase is 0.9942, which indicates excellent agreement.The testing phase correlation coefficient represents a comparison between the experimental data and predicted results in order to show the interpolating ability of the ANNs model.For the testing phase, the correlation coefficient is 0.9853, which demonstrates the good agreement between the experimental rejections and the predicted rejections.
88The contribution of the input variables (dc, logD, length, Eqwidth, MWCO, SR(NaCl), contact angle, Zeta potential, pH, pressure, recovery, and temperature) on the output (rejection) was determined by a sensitivity analysis using the "Weight" method.This method, proposed initially by Garson [39] and repeated by Goh [40] provides a quantification of the relative importance (RI) of the inputs on the output of the ANNs model.It is based on the partitioning of connection weights to:
89• Connection weights of input-hidden;
90• Connection weights of hidden-output.
91The RI of all output weights attributable to the given input variable is then obtained by the two following equations:
92The contribution results are shown in Figure 6.The most important variables that may influence the rejection of anti-inflammatory drugs by NF/RO are contact angle, Zeta potential, dc, length, SR(NaCl), pressure, pH, MWCO, dipole moment, recovery, logD, eqwidth, Temperature.All input relevant variables have a significant contribution (RI > 2%).This sensitivity analysis by the weight method successfully identified the true importance of all the variables used for the modeling of the rejection of antiinflammatory drugs by NF/RO, and therefore, proves the correctness of the choice of variables that were used in this study.
93In this study, the same database employed to build the ANNs model is used for building the SVM for modeling the rejection of anti-inflammatory drugs by NF/RO.The SVM model generates a nonlinear relationship between the inputs (dc, logD, length molecular, Eqwidth, MWCO, SR(NaCl), contact angle, Zeta potential, pH, pressure, recovery, and temperature) and the output (rejection).
94Table 3 presents the comparison between the different kernel functions (linear, polynomial, radial basis function (RBF), and sigmoid).The mean absolute errors of the SVM model with RBF (MAE = 1.3179% for training phases, MAE = 2.0162% for the testing phase, and MAE = 1.4576% for overall phase) are lower than the mean absolute errors of SVM models with other kernel functions (linear, polynomial, and sigmoid) for all phases (training, testing, and overall).The correlation coefficients for the SVM model with RBF function are: 0.9934 for training phases, 0.9711 for testing phases, and 0.9899 for the total phase.These correlation coefficients are approaching the ideal (R = 1) unlike the correlation coefficients of SVM models with other kernel functions (linear, polynomial, and sigmoid).It can be seen that the SVM model with RBF function is more powerful and effective than the SVM models with (linear, polynomial, and sigmoid).Also, it is clear that the RBF kernel function is more appropriate to describe the rejection of anti-inflammatory drugs by NF/RO using an SVM model.The RBF is by far the most popular choice of kernel functions (linear, polynomial, and sigmoid) used in the SVM model.
Comparison of models
95The ANNs and the SVM models developed in this work for the estimation of the rejection of antiinflammatory drugs by NF/RO are compared in terms of certain statistical parameters for the determination of model performance.The evaluation criteria listed above are the correlation coefficient (R), the mean absolute error (MAE), the model predictive error (MPE), the root mean squared error (RMSE), the standard error of prediction (SEP), residual predictive deviation (RPD), and Range Error Ratio (RER).These errors are calculated for the evaluation of the accurate predictions of each model.In addition, other evaluation terms are considered, namely, the mean square error (MSE), the mean relative squared error (MRSE), the relative absolute error (RAE), the accuracy factor (A f ), and bias factor (B f ) all of which are given by the following equations [24]:
96The values of the twelve statistical evaluation indices of the two models discussed in this work for prediction (training, testing, and total phases) are shown in Table 4. Firstly, the ANNs model has small errors compared to the SVM model in the training phase, the testing phase, and the total phase (R = 0.9930, MAE = 1.1236%,MPE = 1.4184%,RMSE = 1.8094%,SEP = 1.9926%,MSE = 3.2741%, MRSE = 3.6182×10 −7 %, RAE = 6.0151×10 −4 %, A f = 1.0005%, and B f = 1.0005% for the total phase).
97On the other hand, we adopted the five-level interpretations of Residual Predictive Deviation "RPD" and Range Error Ratio "RER" provided by Viscarra Rossel: excellent predictions (RPD and RER > 2.5); good (RPD and RER of 2.0 to 2.5); approximate quantitative predictions (RPD and RER of 1.8 to 2.0); possibility to distinguish high and low values (RPD and RER of 1.4 to 1.8); and unsuccessful (RPD and RER < 1.40) [22,41].The RPD and RER of the ANNs and SVM models are higher than 2.5 (RPD = 8.4808% and RER = 54.5525% for ANN; RPD = 6.8644% and RER = 15.3455% for SVM) for the total phase.Based on RMSE, it can be seen that the ANN based model surpassed the SVM model.Moreover, the values of R, MAE, MPE, SEP, RPD, RER, MSE, MRSE, RAE, A f , and B f (for the training phases, for the testing phase, and for the total phase) in addition to the RMSE imply that the ANNs have more predictive power than the SVM model proposed in this work.They allow the representation of the nonlinear relationship between the rejection of the anti-inflammatory drugs and NF/RO.
Conclusions
98In this study, two models (ANN and SVM) were developed for modeling the 300 rejections by NF/RO of seven anti-inflammatory drugs.The sensitivity analysis by weight method identified that the most important variables that influence the rejection are: d c , molecular length, contact angle, and zeta potential.These input relevant variables have a significant contribution (relative importance RI > 10%).Experimental data was selected from the literature and closely analyzed statistically.
99Both the artificial intelligence approaches (ANN and SVM) show good correlative and predictive accuracy to describe the rejections of anti-inflammatory drugs by NF/RO.The statistical comparison between the two different models reveals the good performance of the ANN model for predicting the rejections of anti-inflammatory drugs.Furthermore, the ANN model (correlation coefficient R = 0.9930 and RMSE = 1.8094% for total phase) outperformed the SVM model with a total, correlation coefficient R of 0.9900, and a root means squared error RMSE of 2.2355%.These results demonstrate the superiority of ANN to describe the rejection of anti-inflammatory drugs by NF/RO.
Figure 1 .
100Figure 1.The sketch map of the support vector machine (SVM) model.
Figure 2 .
101Figure 2. Flow diagram for the artificial neural network (ANN) and support vector machine (SVM) development.
Figure 3 .
102Figure 3.Effect of the of database: (a) mean squared error "MSE" and (b) coefficient of correlation "R".
Figure 4 .
103Figure 4. Schematic illustration of the optimized ANN model.
Figure 5 .
104Figure 5. Predicted vs experimental phase agreement plot: (a) for the training phase, (b) for the testing phase, and (c) a for the total phase.
105output values following exactly the trend of the experimental data values with an agreement vector approaching the ideal, [a (slope), b (intercept), R (correlation coefficient)] = [0.9859,1.2938, 0.9942], which demonstrates the predictive ability and accuracy of our model.The testing phase agreement scheme is mentioned in Figure 5b which illustrates the ANNs model calculated outputs versus the experimental data with an agreement vector [a (slope), b (intercept), R (correlation coefficient)] = [1.0148,−1.5758, 0.9853].It shows good robustness of the established ANN model and the possibility of predicting the different parameters that characterize the removal of anti-inflammatory drugs by NF/RO.The total phase agreement scheme is shown in Figure 5c which illustrates the ANNs model calculated outputs versus the experimental data with an agreement vector, [a (slope), b (intercept), R (correlation coefficient)] = [0.9892,0.9511, 0.9930].This reveals the excellent modeling of the whole data by the optimized network.
Figure 6 .
106Figure 6.The plot of the relative importance (RI) of the ANN model for modeling the rejection of anti-inflammatory drugs by NF/RO membranes.
Figure 7
107Figure 7 shows the total agreement plots for the rejections of anti-inflammatory drugs by NF/RO with agreement vectors approaching the ideal [α = 1 (slope), β = 0 (intercept), R = 1 (correlation coefficient)].The SVM model exhibited acceptable efficiency in correlating the training phase, confirmed by a correlation coefficient value of 0.9934 and a signifi-
Figure 7 .
108Figure 7. Predicted versus experimental data agreement plot: (a) for the training phase, (b) for the testing phase, and (c) for the total phase.
Table 1 .
109Structures of the optimized ANN model
Table 2 .
110Statistical parameters of the ANNs model
Table 3 .
111Evaluation of different SVM models using different kernels and optimal values of hyperparameters
112N°SV: Number of support vector.AEM: Absolute error mean.R: Correlation coefficient.
Table 4 .
113Statistical evaluation of the models' performance
Introduction
114The dramatic rise in demand for freshwater worldwide, due to continued population growth has been posing challenges in the last few decades through increased water stress, both in terms of water scarcity and quality deterioration [1].On earth, the main sources of drinking water are groundwater and surface water.Industrial, domestic, agricultural activities, and in particular pharmaceutically active compounds (PhACs), increasingly contaminate water in large amounts every year.The conventional biological treatment processes do not tend to reject such organic molecules [2].
115In the last few years, nanofiltration and reverse osmosis (NF/RO) membranes have been the object of several studies [3], as an alternative to conventional treatment processes since they are energyefficient and environment-friendly. Furthermore, many research works based on the use of NF/RO have demonstrated that they are efficient for the rejection of a wide variety of organic molecules from water, such as pesticides [4,5], dyes [6,7], antibiotics [8,9], a natural hormone and endocrine disruptor [10,11] and PhACs [2,12].
116The literature highlights several points.Firstly, many transfer models exist (irreversible thermodynamics, solubilization-diffusion, or pore flow), but they do not always describe or explain the process correctly and the results obtained in the case of the transfer of organic compounds require significant modifications.The behavior of the NF/RO process for complex solutions is more difficult to describe and predict, due to the large number of mechanisms involved.On the other hand, many interactions can be established between solutes, water, and the membrane (steric dimensions, electrostatic repulsion, hydrophobic/adsorption, and dielectric exclusion) [13,14].
117To overcome these problems, attempts have been made to propose modeling approaches, making it possible to decrease the number of experiments to be carried out to determine the optimal parameters (anti-inflammatory drugs properties, membrane properties, and operating conditions) for the treatment of industrial effluent.For these reasons, we must research new methods of calculation and modeling such as artificial neural network (ANN) and support vector machine (SVM) models.Firstly, the main advantage of ANNs is their ability to model processes without having in-depth knowledge of the phenomenology involved.Secondly, SVMs aim for regression and classification due to their excellent and robust generalization performance.
118However, there have been few models of ANNs due to the complexity of mechanisms to predict the rejection of organic compounds by NF/RO [15][16][17][18][19][20][21][22].There is no modeling study for the rejection of organic compounds by NF/RO membranes using SVMs.
119In this work, an attempt will be made to estimate the rejection of anti-inflammatory drugs by NF/RO using two artificial intelligence approaches (ANNs and SVM).A similar set of inputs is considered for the two approaches that include an effective diameter of the organic compound in water "d c ", logD, dipole moment, molecular length, molecular equivalent width, molecular weight cutoff, sodium chloride salt rejection, zeta potential, contact angle, pH, pressure, temperature, and recovery.
120To the best of our knowledge, this will be the first attempt to model the anti-inflammatory drug rejection mechanisms by NF/RO using the SVM and ANN in order to assess their predictive capacities.The remainder of this study is structured as follows: Section 2 includes the machine learning techniques (ANNs and SVMs).Section 3 describes the modeling of the rejection of anti-inflammatory drug.Results and discussion are presented in Section 4. We will end with a conclusion that brings together the main results obtained in Section 5.
Artificial intelligence approach "ANN and SVM"
121ANN is one of the most appropriate machine learning methods.It is inspired by natural neurons; ANNs are a mesh of several formal connected neurons that relate the inputs to the desired outputs.ANNs consist of both input and output layers and can have a hidden layer (in many cases) that contain units that convert the input into something, which could be used, by the output layer [23].The input and output variables are weighted and shifted by a bias factor specific to each neuron [24].
122In 1990 Vapnik-Chervonenkis developed an excellent methodology of SVM.This method is based on statistical learning theory (SLT), it implements structural risk minimization (SRM) theory.It is used for nonlinear classification and regression analysis [24].The sketch map of the SVM model is shown in Figure 1.The nonlinear relationship between inputs and outputs in the SVM model can be employed by the regression function.
123The outputs of the SVM model are obtained by the following equation [25]:
124where f (x i ): the predicted value of the SVM model; ϕ(x i ): the nonlinear function that maps input finitedimensional space into a higher-dimensional space which is implicitly created; w: the weight vector of the SVM model to be optimized; b: the bias of the SVM model to be optimized.The database has a D-dimensional input vector x i ∈ R D and a scalar output y i ∈ R.
125The SVM optimization model is given by the following equations (for the training database):
126where C : is the parameter used to balance the empirical risk and model complexity term w 2 ; ξ * i : the slack variable to denote the distance of the i th sample outside of the ε-tube; ε: epsilon = 0.100; v: vector.
127As a standard nonlinear constrained optimization problem, the above problem can be resolved by constructing the dual optimization problem based on the Lagrange multipliers techniques:
128subjective to :
129(3) K (x i , x j ): the kernel function satisfying the Mercer's condition; a i and a * i : the non-negative Lagrange multipliers, respectively.
Modeling the rejection of antiinflammatory drugs
130The data sample with 300 rejections of 7 antiinflammatory drugs used in this study is available in the literature [16,[26][27][28][29][30][31][32][33][34][35][36][37][38] (Supplementary data A).
131The list of anti-inflammatory drugs, molecular formula, molecular weight, and structure is presented in Supplementary data B (Table B.1).The choice of input and output variables was based on the sieving effect, electrostatic interactions, and hydrophobic/adsorption interactions between solutes and NF/RO membranes.These solutemembrane interactions are determined by antiinflammatory drugs properties, membrane characteristics, and filtration conditions.In this work, we have chosen the following inputs: anti-inflammatory drug properties (logD, dipole moment, the effective diameter of the organic compound in water "d c ", molecular length, and molecular equivalent width "eqwidth"); membrane characteristics (molecular weight cutoff "MWCO", sodium chloride salt rejection "SR (NaCl)", zeta potential, and contact angle); and filtration conditions (pH, pressure, temperature, and recovery).
132The statistical analysis of the input and output data was done in terms of the minimum "min", the average "mean", the maximum "max".The standard deviations "STDs" for training data, testing data, and overall data are mentioned in the Supplementary data B (Table B
.2).
133A procedure based on the development and optimization of the architecture of ANNs and SVM is described in Figure 2, in the design of three ANNs models and four SVM models.The ANN model was developed for the total database.The samples were randomly split into two subsets (training phase and testing phase).The training algorithm used in this work is the BFGS quasi-Newton (trainbfg).The ANN con- tains three layers: one input layer with thirteen neurons in the input layer, one hidden layer with several active neurons optimized during the training phase, and one output layer with one unit that generated the estimated value of rejection of anti-inflammatory drugs.The number of hidden neurons varied from 3 to 25 neurons.The tangent sigmoid (tansig), the log sigmoid (logsig), sin, and the exponential transfer functions were used in the hidden layer.The choice of the optimal number of hidden neuron of hidden functions, and a division of subsets (optimal architecture) for ANNs was performed by trial and error.The pure-linear (purelin) transfer function was used in the output layer.In order to develop four SVM models for the rejection of anti-inflammatory drugs by NF/RO, the SVM learning technique is employed.As mentioned previously in this article, the choice of the kernel functions is crucial for model performance.STATISTICA SVM supports a number of kernel functions for use in SVM models, these include linear, polynomial, radial basis function (RBF), and sigmoid.The function that gave the best results in terms of the absolute error mean (AEM) and correlation coefficient (R) is the kernel used in our SVM modeling.The creation of ANNs and SVM models of the rejection of anti-inflammatory drugs by NF/RO was performed using STATISTICA software by trial and error method.
Results and discussion
134Figure 3 shows the error values (mean squared error "MSE" and coefficient of correlation "R") obtained for the rejection of anti-inflammatory drugs under the influence of the division of the database for ANNs model with division 1 (240 points for training (80%), and 60 for testing phase (20%)), division 2 (210 points for training (70%), and 90 for testing (30%)), and division 3 (180 points for training (60%), and 120 for testing (40%)).This figure demonstrates that division 1 has lower MSE than division 2 and 3 (MSE = 0.0001 and MSE = 0.0002 for training and testing phase respectively).The coefficients of correlation of division 1 are generally considered to be more satisfactory than the divisions 2 and 3 (R = 0.9942 and R = 0.9853 for training and testing phase respectively).Therefore, it is clear that the first division represents the best result for modeling the rejection of anti-inflammatory drugs by NF/RO using the ANN model.
135Hence, the structure of the ANNs for the modeling of the rejection of anti-inflammatory drugs by NF/RO is mentioned in Figure 4. Its more detailed architecture is illustrated in Table 1.From the optimized ANNs models shown in Figure 4, assimilation of the rejection of antiinflammatory drugs by NF/RO can be depicted by a mathematical model incorporating all inputs E i , it is given by the following equations:
136The instance outputs Z j of the hidden layer:
137where j = 1, 2, . . ., 25.
138The output "Rejection"
139(6) The combination of ( 5) and ( 6) leads to the following mathematical formula which describes the rejection of inflammatory drug by taking into account all inputs.
140In order to assess the predictive ability of the ANN model, the training, the testing, and the total phases are analyzed.The plot of the predicted versus experimental rejection of anti-inflammatory drugs and the parameters of the linear regression are directly obtained using the Matlab function "postreg".
141Figure 5 shows the predicted vs experimental data agreement plot: (a) for the training phase, (b) for the testing phase, and (c) for the total phase.The errors of the ANNs model for the train-ing phase, testing phase, and total phase are: the correlation coefficient (R), the mean absolute error (MAE), the model predictive error (MPE), the root mean squared error (RMSE), the standard error of prediction (SEP), residual predictive deviation (RPD), and range error ratio (RER).The errors calculated confirm the prediction capacity of the rejection of anti-inflammatory drugs by NF/RO membrane.Equations of those parameters are given below [19]:
142where n is the total number of data points; Y i ,exp is the experimental value, Y i ,cal represents the calculated value from the ANN model, Y e is the mean value of experimental data.STD is the standard deviation of experimental data, Min is the minimum of experimental data, and Max is the maximum of experimental data.
143The statistical parameters of the ANNs model for the phases concerning the training, testing, and total are shown in Table 2.The correlation coefficient (R) for the training phase is 0.9942, which indicates excellent agreement.The testing phase correlation coefficient represents a comparison between the experimental data and predicted results in order to show the interpolating ability of the ANNs model.For the testing phase, the correlation coefficient is 0.9853, which demonstrates the good agreement between the experimental rejections and the predicted rejections.
144The contribution of the input variables (dc, logD, length, Eqwidth, MWCO, SR(NaCl), contact angle, Zeta potential, pH, pressure, recovery, and temperature) on the output (rejection) was determined by a sensitivity analysis using the "Weight" method.This method, proposed initially by Garson [39] and repeated by Goh [40] provides a quantification of the relative importance (RI) of the inputs on the output of the ANNs model.It is based on the partitioning of connection weights to:
145• Connection weights of input-hidden;
146• Connection weights of hidden-output.
147The RI of all output weights attributable to the given input variable is then obtained by the two following equations:
148The contribution results are shown in Figure 6.The most important variables that may influence the rejection of anti-inflammatory drugs by NF/RO are contact angle, Zeta potential, dc, length, SR(NaCl), pressure, pH, MWCO, dipole moment, recovery, logD, eqwidth, Temperature.All input relevant variables have a significant contribution (RI > 2%).This sensitivity analysis by the weight method successfully identified the true importance of all the variables used for the modeling of the rejection of antiinflammatory drugs by NF/RO, and therefore, proves the correctness of the choice of variables that were used in this study.
149In this study, the same database employed to build the ANNs model is used for building the SVM for modeling the rejection of anti-inflammatory drugs by NF/RO.The SVM model generates a nonlinear relationship between the inputs (dc, logD, length molecular, Eqwidth, MWCO, SR(NaCl), contact angle, Zeta potential, pH, pressure, recovery, and temperature) and the output (rejection).
150Table 3 presents the comparison between the different kernel functions (linear, polynomial, radial basis function (RBF), and sigmoid).The mean absolute errors of the SVM model with RBF (MAE = 1.3179% for training phases, MAE = 2.0162% for the testing phase, and MAE = 1.4576% for overall phase) are lower than the mean absolute errors of SVM models with other kernel functions (linear, polynomial, and sigmoid) for all phases (training, testing, and overall).The correlation coefficients for the SVM model with RBF function are: 0.9934 for training phases, 0.9711 for testing phases, and 0.9899 for the total phase.These correlation coefficients are approaching the ideal (R = 1) unlike the correlation coefficients of SVM models with other kernel functions (linear, polynomial, and sigmoid).It can be seen that the SVM model with RBF function is more powerful and effective than the SVM models with (linear, polynomial, and sigmoid).Also, it is clear that the RBF kernel function is more appropriate to describe the rejection of anti-inflammatory drugs by NF/RO using an SVM model.The RBF is by far the most popular choice of kernel functions (linear, polynomial, and sigmoid) used in the SVM model.
Comparison of models
151The ANNs and the SVM models developed in this work for the estimation of the rejection of antiinflammatory drugs by NF/RO are compared in terms of certain statistical parameters for the determination of model performance.The evaluation criteria listed above are the correlation coefficient (R), the mean absolute error (MAE), the model predictive error (MPE), the root mean squared error (RMSE), the standard error of prediction (SEP), residual predictive deviation (RPD), and Range Error Ratio (RER).These errors are calculated for the evaluation of the accurate predictions of each model.In addition, other evaluation terms are considered, namely, the mean square error (MSE), the mean relative squared error (MRSE), the relative absolute error (RAE), the accuracy factor (A f ), and bias factor (B f ) all of which are given by the following equations [24]:
152The values of the twelve statistical evaluation indices of the two models discussed in this work for prediction (training, testing, and total phases) are shown in Table 4. Firstly, the ANNs model has small errors compared to the SVM model in the training phase, the testing phase, and the total phase (R = 0.9930, MAE = 1.1236%,MPE = 1.4184%,RMSE = 1.8094%,SEP = 1.9926%,MSE = 3.2741%, MRSE = 3.6182×10 −7 %, RAE = 6.0151×10 −4 %, A f = 1.0005%, and B f = 1.0005% for the total phase).
153On the other hand, we adopted the five-level interpretations of Residual Predictive Deviation "RPD" and Range Error Ratio "RER" provided by Viscarra Rossel: excellent predictions (RPD and RER > 2.5); good (RPD and RER of 2.0 to 2.5); approximate quantitative predictions (RPD and RER of 1.8 to 2.0); possibility to distinguish high and low values (RPD and RER of 1.4 to 1.8); and unsuccessful (RPD and RER < 1.40) [22,41].The RPD and RER of the ANNs and SVM models are higher than 2.5 (RPD = 8.4808% and RER = 54.5525% for ANN; RPD = 6.8644% and RER = 15.3455% for SVM) for the total phase.Based on RMSE, it can be seen that the ANN based model surpassed the SVM model.Moreover, the values of R, MAE, MPE, SEP, RPD, RER, MSE, MRSE, RAE, A f , and B f (for the training phases, for the testing phase, and for the total phase) in addition to the RMSE imply that the ANNs have more predictive power than the SVM model proposed in this work.They allow the representation of the nonlinear relationship between the rejection of the anti-inflammatory drugs and NF/RO.
Conclusions
154In this study, two models (ANN and SVM) were developed for modeling the 300 rejections by NF/RO of seven anti-inflammatory drugs.The sensitivity analysis by weight method identified that the most important variables that influence the rejection are: d c , molecular length, contact angle, and zeta potential.These input relevant variables have a significant contribution (relative importance RI > 10%).Experimental data was selected from the literature and closely analyzed statistically.
155Both the artificial intelligence approaches (ANN and SVM) show good correlative and predictive accuracy to describe the rejections of anti-inflammatory drugs by NF/RO.The statistical comparison between the two different models reveals the good performance of the ANN model for predicting the rejections of anti-inflammatory drugs.Furthermore, the ANN model (correlation coefficient R = 0.9930 and RMSE = 1.8094% for total phase) outperformed the SVM model with a total, correlation coefficient R of 0.9900, and a root means squared error RMSE of 2.2355%.These results demonstrate the superiority of ANN to describe the rejection of anti-inflammatory drugs by NF/RO.
Figure 1 .
156Figure 1.The sketch map of the support vector machine (SVM) model.
Figure 2 .
157Figure 2. Flow diagram for the artificial neural network (ANN) and support vector machine (SVM) development.
Figure 3 .
158Figure 3.Effect of the of database: (a) mean squared error "MSE" and (b) coefficient of correlation "R".
Figure 4 .
159Figure 4. Schematic illustration of the optimized ANN model.
Figure 5 .
160Figure 5. Predicted vs experimental phase agreement plot: (a) for the training phase, (b) for the testing phase, and (c) a for the total phase.
161output values following exactly the trend of the experimental data values with an agreement vector approaching the ideal, [a (slope), b (intercept), R (correlation coefficient)] = [0.9859,1.2938, 0.9942], which demonstrates the predictive ability and accuracy of our model.The testing phase agreement scheme is mentioned in Figure 5b which illustrates the ANNs model calculated outputs versus the experimental data with an agreement vector [a (slope), b (intercept), R (correlation coefficient)] = [1.0148,−1.5758, 0.9853].It shows good robustness of the established ANN model and the possibility of predicting the different parameters that characterize the removal of anti-inflammatory drugs by NF/RO.The total phase agreement scheme is shown in Figure 5c which illustrates the ANNs model calculated outputs versus the experimental data with an agreement vector, [a (slope), b (intercept), R (correlation coefficient)] = [0.9892,0.9511, 0.9930].This reveals the excellent modeling of the whole data by the optimized network.
Figure 6 .
162Figure 6.The plot of the relative importance (RI) of the ANN model for modeling the rejection of anti-inflammatory drugs by NF/RO membranes.
Figure 7
163Figure 7 shows the total agreement plots for the rejections of anti-inflammatory drugs by NF/RO with agreement vectors approaching the ideal [α = 1 (slope), β = 0 (intercept), R = 1 (correlation coefficient)].The SVM model exhibited acceptable efficiency in correlating the training phase, confirmed by a correlation coefficient value of 0.9934 and a signifi-
Figure 7 .
164Figure 7. Predicted versus experimental data agreement plot: (a) for the training phase, (b) for the testing phase, and (c) for the total phase.
Table 1 .
165Structures of the optimized ANN model
Table 2 .
166Statistical parameters of the ANNs model
Table 3 .
167Evaluation of different SVM models using different kernels and optimal values of hyperparameters
168N°SV: Number of support vector.AEM: Absolute error mean.R: Correlation coefficient.
Table 4 .
169Statistical evaluation of the models' performance
참고문헌 37건
- Effect of membrane chemistry and coating layer on physiochemical properties of thin film composite polyamide RO and NF membranes Desalination · Elsevier BV · 2009 10.1016/j.desal.2008.04.004
- Prediction of the rejection of organic compounds (neutral and ionic) by nanofiltration and reverse osmosis membranes using neural networks Korean Journal of Chemical Engineering · Springer Science+Business Media · 2015 10.1007/s11814-015-0086-y
- A QSAR model for predicting rejection of emerging contaminants (pharmaceuticals, endocrine disruptors) by nanofiltration membranes Water Research · Elsevier BV · 2009 10.1016/j.watres.2009.06.054
- Effects of feedwater pretreatment on the removal of organic microconstituents by a low fouling reverse osmosis membrane Desalination · Elsevier BV · 2011 10.1016/j.desal.2011.08.018
- Influence of Adsorption of Pharmaceuticals onto RO/NF Membranes on Their Removal from Water Water Air & Soil Pollution · Springer Science+Business Media · 2012 10.1007/s11270-012-1377-0
- The role of membrane surface charge and solute physico-chemical properties in the rejection of organic acids by NF membranes Journal of Membrane Science · Elsevier BV · 2004 10.1016/j.memsci.2004.09.041
- Back-propagation neural networks for modeling complex systems Artificial Intelligence in Engineering · Elsevier BV · 1995 10.1016/0954-1810(94)00011-s
- Organic compounds passage through RO membranes Journal of Membrane Science · Elsevier BV · 2007 10.1016/j.memsci.2007.11.052
- Influence of Steric, Electric, and Dielectric Effects on Membrane Potential Langmuir · American Chemical Society · 2008 10.1021/la800677q
- RO/NF membrane treatment of veterinary pharmaceutical wastewater: comparison of results obtained on a laboratory and a pilot scale Environmental Science and Pollution Research · Springer Science+Business Media · 2012 10.1007/s11356-012-0782-7
- Removal of natural hormone estrone from secondary effluents using nanofiltration and reverse osmosis Water Research · Elsevier BV · 2009 10.1016/j.watres.2009.09.057
- Artificial neural network models based on QSAR for predicting rejection of neutral organic compounds by polyamide nanofiltration and reverse osmosis membranes Journal of Membrane Science · Elsevier BV · 2009 10.1016/j.memsci.2009.06.048
- Application of quantitative structure–property relationships (QSPRs) to predict the rejection of organic solutes by nanofiltration Separation and Purification Technology · Elsevier BV · 2013 10.1016/j.seppur.2013.07.050
- Determining the composition of mineral-organic mixes using UV–vis–NIR diffuse reflectance spectroscopy Geoderma · Elsevier BV · 2006 10.1016/j.geoderma.2006.07.004
- Influence of seasonal and operating conditions on the rejection of pharmaceutical active compounds by RO and NF membranes Desalination · Elsevier BV · 2011 10.1016/j.desal.2011.04.029
- Modeling of RO/NF membrane rejections of PhACs and organic compounds: a statistical analysis Drinking water engineering and science · Copernicus Publications on behalf of the TU Delft · 2008 10.5194/dwes-1-7-2008
- Effect of water matrices on removal of veterinary pharmaceuticals by nanofiltration and reverse osmosis membranes Journal of Environmental Sciences · Elsevier BV · 2011 10.1016/s1001-0742(10)60545-1
- Modeling the Retention of Organic Compounds by Nanofiltration and Reverse Osmosis Membranes Using Bootstrap Aggregated Neural Networks Arabian Journal for Science and Engineering · Springer Science+Business Media · 2016 10.1007/s13369-016-2320-2
- Nanofiltration as tertiary treatment method for removing trace pharmaceutically active compounds in wastewater from wastewater treatment plants Water Research · Elsevier BV · 2017 10.1016/j.watres.2017.08.070
- Impact of dead cells on biofouling and pharmaceutically active compounds retention by NF/RO membranes Chemical Engineering Journal · Elsevier BV · 2017 10.1016/j.cej.2017.12.081
- Assessing potential of nanofiltration and reverse osmosis for removal of toxic pharmaceuticals from water Journal of Water Process Engineering · Elsevier BV · 2018 10.1016/j.jwpe.2018.08.002
- A Model Based on Bootstrapped Neural Networks for Modeling the Removal of Organic Compounds by Nanofiltration and Reverse Osmosis Membranes Arabian Journal for Science and Engineering · Springer Science+Business Media · 2018 10.1007/s13369-018-3484-8
- High removal efficiency of antibiotic resistance genes in swine wastewater via nanofiltration and reverse osmosis processes Journal of Environmental Management · Elsevier BV · 2018 10.1016/j.jenvman.2018.10.073
- Influences of multi influent matrices on the retention of PPCPs by nanofiltration membranes Separation and Purification Technology · Elsevier BV · 2018 10.1016/j.seppur.2018.11.040
- Artificial neural networks as emulators of process-based models to analyse bathing water quality in estuaries Water Research · Elsevier BV · 2018 10.1016/j.watres.2018.11.063
- Diagnosis and Classifications of Bearing Faults Using Artificial Neural Network and Support Vector Machine Journal of The Institution of Engineers (India) Series C · Springer Science+Business Media · 2019 10.1007/s40032-019-00519-9
- Modeling the activity coefficient at infinite dilution of water in ionic liquids using artificial neural networks and support vector machines Neural Computing and Applications · Springer Science+Business Media · 2019 10.1007/s00521-019-04356-w
- Tailoring nanofiltration membranes for effective removing dye intermediates in complex dye-wastewater Journal of Membrane Science · Elsevier BV · 2019 10.1016/j.memsci.2019.117476
- Assessing the passage of small pesticides through reverse osmosis membranes Journal of Membrane Science · Elsevier BV · 2019 10.1016/j.memsci.2019.117577
- Assessing potential of nanofiltration, reverse osmosis and membrane distillation drinking water treatment for pharmaceutically active compounds (PhACs) removal Journal of Water Process Engineering · Elsevier BV · 2019 10.1016/j.jwpe.2019.101029
- Efficient removal and fouling-resistant of anionic dyes by nanofiltration membrane with phosphorylated chitosan modified graphene oxide nanosheets incorporated selective layer Journal of Water Process Engineering · Elsevier BV · 2019 10.1016/j.jwpe.2019.101086
- Simultaneous rational design of ion separation membranes and processes Journal of Membrane Science · Elsevier BV · 2020 10.1016/j.memsci.2020.117860
- Exclusion of Estrogenic and Androgenic Steroid Hormones from Municipal Membrane Bioreactor Wastewater Using UF/NF/RO Membranes for Water Reuse Application Membranes · Multidisciplinary Digital Publishing Institute · 2020 10.3390/membranes10030037
- A Comparison of “Neural Networks and Multiple Linear Regressions” Models to Describe the Rejection of Micropollutants by Membranes Kemija u industriji · Croatian Society of Chemical Engineers · 2020 10.15255/kui.2019.024
- Removal of a mixture of pharmaceuticals sulfamethoxazole and diclofenac from water streams by a polyamide nanofiltration membrane Water Science & Technology · Pergamon Press · 2020 10.2166/wst.2020.166
- Preparation, characterization and scaling propensity study of a dopamine incorporated RO/FO TFC membrane for pesticide removal Journal of Membrane Science · Elsevier BV · 2020 10.1016/j.memsci.2020.118458
- Experimental Design as a Tool for Optimizing and Predicting the Nanofiltration Performance by Treating Antibiotic-Containing Wastewater Membranes · Multidisciplinary Digital Publishing Institute · 2020 10.3390/membranes10070156