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

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(방수통기 부품)

기본 정보

저자
  1. Yamina Ammi — Laboratory of Biomaterials and Transport Phenomena (LBMPT), University of Médéa, 26000, Algeria|||University Ahmed Zabana of Relizane, 48000, Algeria
  2. Salah Hanini — Laboratory of Biomaterials and Transport Phenomena (LBMPT), University of Médéa, 26000, Algeria
  3. Latifa Khaouane — Laboratory of Biomaterials and Transport Phenomena (LBMPT), University of Médéa, 26000, Algeria
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자 발췌

초록

The 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 anti-inflammatory 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%).

본문 38,613자

본문 펼치기
# _Comptes Rendus_ ## _Chimie_ Yamina Ammi, Salah Hanini and Latifa Khaouane 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 Volume 24, issue 2 (2021), p. 243-254 Published online: 21 May 2021 [https://doi.org/10.5802/crchim.76](https://doi.org/10.5802/crchim.76) This article is licensed under the Creative Commons Attribution 4.0 International License. [http://creativecommons.org/licenses/by/4.0/](http://creativecommons.org/licenses/by/4.0/) _Les_ Comptes Rendus. Chimie _sont membres du_ _Centre Mersenne pour l’édition scientifique ouverte_ [www.centre-mersenne.org](https://www.centre-mersenne.org) e-ISSN : 1878-1543 _Comptes Rendus_ _Chimie_ 2021, 24, n 2, p. 243-254 ``` https://doi.org/10.5802/crchim.76 ``` Essay / _Essai_ ### 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 Yamina Ammi <sup>_∗_</sup> <sup>,</sup> <sup>_a_</sup> <sup>,</sup> <sup>_b_</sup> , Salah Hanini <sup>_a_</sup> and Latifa Khaouane <sup>_a_</sup> _a_ Laboratory of Biomaterials and Transport Phenomena (LBMPT), University of Médéa, 26000, Algeria _b_ University Ahmed Zabana of Relizane, 48000, Algeria _E-mails:_ [ammi.yamina@yahoo.fr (Y. Ammi), s_hanini2002@yahoo.fr (S. Hanini),](mailto:ammi.yamina@yahoo.fr) [latifa.khaouane@yahoo.fr (K. Latifa)](mailto:latifa.khaouane@yahoo.fr) Abstract. The 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 “ _dc_ ”, molecular length, contact angle, and zeta potential. These input relevant variables have a significant contribution (relative importance superior to 10%). Keywords. Artificial intelligence, Anti-inflammatory drugs, Membranes, Kernel support vector machine (SVM), Artificial neural network (ANN). _Manuscript_ _received_ _26th_ _October_ _2020,_ _revised_ _9th_ _December_ _2020_ _and_ _24th_ _March_ _2021,_ _accepted_ _25th March 2021._ _∗_ Corresponding author. 244 Yamina Ammi _et al._ 1. Introduction The 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]. In 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]. The 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]. To 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. However, there have been few models of ANNs due to the complexity of mechanisms to predict the rejection of organic compounds by NF/RO [15– 22]. There is no modeling study for the rejection of organic compounds by NF/RO membranes using SVMs. In 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 “ _dc_ ”, logD, dipole moment, molecular length, molecular equivalent width, molecular weight cutoff, sodium chloride salt rejection, zeta potential, contact angle, pH, pressure, temperature, and recovery. To 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. 2. Artificial intelligence approach “ANN and SVM” ANN 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]. In 1990 Vapnik–Chervonenkis developed an excellent methodology of SVM. This method is based on statistical learning theory (SLT), it implements Yamina Ammi _et al._ 245 Figure 1. The sketch map of the support vector machine (SVM) model. 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. The outputs of the SVM model are obtained by the following equation [25]: _f_ ( _xi_ ) _= w_ <sup>_T_</sup> _ϕ_ ( _xi_ ) _+_ _b_, _i_ _=_ 1,2,..., _N_ (1) where _f_ ( _xi_ ): the predicted value of the SVM model; _ϕ_ ( _xi_ ): 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 _xi_ _∈_ _R_ <sup>_D_</sup> and a scalar output _yi_ _∈_ _R_ . The SVM optimization model is given by the following equations (for the training database): where _C_ : is the parameter used to balance the empirical risk and model complexity term _∥w∥_ <sup>2</sup> ; _ξ_ <sup>_∗_</sup> _i_ <sup>:</sup> the slack variable to denote the distance of the _i_ th sample outside of the _ε_ -tube; _ε_ : epsilon _=_ 0.100; _v_ : vector. As a standard nonlinear constrained optimization problem, the above problem can be resolved by constructing the dual optimization problem based on the Lagrange multipliers techniques:   0 _i_ _=_ 1 max _R_ ( _ai_, _ai_ <sup>_∗_</sup> <sup>)</sup> <sup>_=_</sup> max _R_ ( _ai_, _ai_ <sup>_∗_</sup> _N_ _i_ _=_ 1 _yi_ ( _ai_, _ai_ <sup>_∗_</sup> <sup>)</sup> _−_ <sup><u>1</u></sup> 2 _N_ _N_ - _i_ _=_ 1 _j_ _=_ 1 ( _ai_, _ai_ <sup>_∗_</sup> _i_ <sup>_∗_</sup> <sup>)(</sup> <sup>_a j_</sup> <sup>,</sup> <sup>_a∗_</sup> _j_ <sup>_∗_</sup> _j_ <sup>)</sup> <sup>_K_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>,</sup> <sup>_x j_</sup> <sup>)</sup> (3) subjective to: _N_ _i_ _=_ 1 _yi_ ( _ai_, _ai_ <sup>_∗_</sup> <sup>)</sup> <sup>_=_</sup> <sup>0</sup> 0 _≤_ _ai_, _ai_ <sup>_∗_</sup> 0 _≤_ _ai_, _ai_ <sup>_∗_</sup> <sup>_≤_</sup> <sup>_C_</sup> <sup>/</sup> <sup>_N_</sup> _N_ �( _ai + a_ <sup>_∗_</sup> ( _ai + ai_ <sup>_∗_</sup> _i_ <sup>_∗_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>_C · v_</sup> <sup>.</sup>   min _R_ ( _w_, _ξ_, _ξ_ <sup>_∗_</sup>, _ε_ ) <sup><u>1</u></sup> - _vε_ _+_ <sup><u>1</u></sup> 2 <sup>_∥w∥_</sup> <sup>2</sup> <sup>_+C_</sup> _N_ _=_ <sup><u>1</u></sup> 2 _N_ - _iN=_ 1 <sup>(</sup> <sup>_ξi +_</sup> <sup>_ξ∗_</sup> _i_ <sup>)</sup> (2) subjective to : _yi −_ _w_ <sup>_T_</sup> _ϕ_ ( _xi_ ) _−_ _b ≤_ _ε_ _+_ _ξi_ _w_ <sup>_T_</sup> _ϕ_ ( _xi_ ) _+_ _b −_ _yi_ _≤_ _ε_ _+_ _ξi_ _ξ_ <sup>_∗_</sup>, _ε ≥_ 0 _K_ ( _xi_, _x j_ ): the kernel function satisfying the Mercer’s condition; _ai_ and _ai_ <sup>_∗_</sup> <sup>: the non-negative Lagrange</sup> multipliers, respectively.  _f_ ( _xi_ ) _=_ _N_ _i_ _=_ 1 ( _ai −_ _ai_ <sup>_∗_</sup> <sup>)</sup> <sup>_K_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_xi_</sup> <sup>)</sup> <sup>_+_</sup> <sup>_b_</sup> <sup>,</sup> _i_ _=_ 1,2,..., _N_ . (4) 246 Yamina Ammi _et al._ Figure 2. Flow diagram for the artificial neural network (ANN) and support vector machine (SVM) development. 3. Modeling the rejection of antiinflammatory drugs The data sample with 300 rejections of 7 antiinflammatory drugs used in this study is available in the literature [16,26–38] (Supplementary data A). The 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 solute– membrane 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 “ _dc_ ”, 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). The 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). A 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 Yamina Ammi _et al._ 247 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. 4. Results and discussion Figure 3. Effect of the division of database: (a) mean squared error “MSE” and (b) coefficient of correlation “ _R_ ”. 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 Figure 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. Hence, 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. 248 Yamina Ammi _et al._ Figure 4. Schematic illustration of the optimized ANN model. The weight and bias matrixes of the neural networks model are depicted in Supplementary data B (Table B.3). _w_ _I_ : the input-hidden layer connection weight matrix (25 rows _×_ 13 columns); _wh_ : the hidden-output layer connection weight matrix (25 rows _×_ 1 column); _bh_ : the hidden neurons bias column vector (25 rows); _bo_ : the output neurons bias column vector (1 row). 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 _Ei_, it is given by the following equations: The instance outputs _Z_ _j_ of the hidden layer: The output “Rejection” 25 _j_ _=_ 1 _w_ 1 <sup>_H_</sup> _j_ <sup>_Z_</sup> <sup>_j +_</sup> <sup>_b_</sup> 1 <sup>_o_</sup> <sup>.</sup> _=_ Rejection _= f_ 0 - 25 _j_ _=_ 1 _w_ 1 <sup>_H_</sup> _j_ <sup>_Z_</sup> <sup>_j +_</sup> <sup>_b_</sup> 1 <sup>_o_</sup> 1 <sup>_H_</sup> _j_ <sup>_Z_</sup> <sup>_j +_</sup> <sup>_b_</sup> 1 <sup>_o_</sup> (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. Rejection _=_ 25 _j_ _=_ 1 _w_ 1 <sup>_H_</sup> _j_ <sup>13</sup> _i_ _=_ 1 <sup>_w I_</sup> _ji_ <sup>13</sup> _i_ _=_ 1 <sup>_w I_</sup> _ji_ <sup>_I_</sup> _ji_ <sup>_Ei +_</sup> <sup>_b_</sup> <sup>_H_</sup> _j_ <sup>_I_</sup> _ji_ <sup>_Ei +_</sup> <sup>_b_</sup> <sup>_H_</sup> _j_ _j_ exp _j_ _j_ _×_ ��13 _i_ _=_ 1 <sup>_w I_</sup> _ji_ <u>��13</u> _i_ _=_ 1 <sup>_w I_</sup> _ji_ exp <sup>_I_</sup> _ji_ <sup>_Ei +_</sup> <sup>_b_</sup> <sup>_H_</sup> _j_ <sup>_I_</sup> _ji_ <sup>_Ei +_</sup> <sup>_b_</sup> <sup>_H_</sup> _j_ _j_ _−_ exp <u>�</u> _+_ exp - _−_ <sup>�13</sup> _i_ _=_ <u>�</u> _−_ <sup><u>�13</u></sup> _i_ _=_ <u>�</u> _+_ _b_ 1 <sup>_o_</sup> <sup>.</sup> (7) _j_ _Z_ _j_ _= f_ _H_ - 13 _i_ _=_ 1 _wji_ <sup>_I_</sup> _ji_ <sup>_I_</sup> <sup>_Ei +_</sup> <sup>_b_</sup> <sup>_H_</sup> _j_ - _−_ <sup>�13</sup> _i_ _=_ <u>�</u> _−_ <sup><u>�13</u></sup> _i_ _=_ <sup>13</sup> _i_ _=_ 1 <sup>_w I_</sup> _ji_ <sup>13</sup> _i_ _=_ 1 <sup>_w I_</sup> _ji_ <sup>_I_</sup> _ji_ <sup>_Ei +_</sup> <sup>_b_</sup> <sup>_H_</sup> _j_ <sup>_I_</sup> _ji_ <sup>_Ei +_</sup> <sup>_b_</sup> <sup>_H_</sup> _j_ _j_ In 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”. Figure 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. Figure 5a points to the training agreement plot which ��13 _i_ _=_ 1 <sup>_w I_</sup> _ji_ <u>��13</u> _i_ _=_ 1 <sup>_w I_</sup> _ji_ <sup>_I_</sup> _ji_ <sup>_Ei +_</sup> <sup>_b_</sup> <sup>_H_</sup> _j_ <sup>_I_</sup> _ji_ <sup>_Ei +_</sup> <sup>_b_</sup> <sup>_H_</sup> _j_ _j_ _j_ <u>�</u> _=_ exp exp _j_ _−_ exp <u>�</u> _+_ exp (5) where _j_ _=_ 1,2,...,25. Yamina Ammi _et al._ 249 (a) (b) (c) Figure 5. Predicted vs experimental phase agreement plot: (a) for the training phase, (b) for the testing phase, and (c) a for the total phase. Table 1. Structures of the optimized ANN model Training algorithm Neurons <u>number</u> <u>Input layer</u> <u>Hidden layer</u> <u>Output layer</u> Neurons <u>number</u> Activation <u>function</u> Neurons <u>number</u> Activation <u>number</u> <u>number</u> <u>function</u> <u>number</u> <u>function</u> BFGS 13 25 Hyperbolic tangent 1 Linear transfer quasi-Newton sigmoid transfer function (purelin) (trainbfg) function (tansig) 13 25 Hyperbolic tangent sigmoid transfer function (tansig) 1 Linear transfer function (purelin) shows the predicted output 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. 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]: <u>SD</u> RPD _=_ (12) RMSE MAE _=_ <sup><u>1</u></sup> _n_ - _n_ _i_ _=_ 1 _|_ ( _yi_,exp _−_ _yi_,cal) _|_ (8) (9) ���� MPE(%) _=_ <sup><u>100</u></sup> _n_ - _n_ _i_ _=_ 1 ���� ( _yi_,exp _yi −_,exp _yi_ <u>,cal)</u> ���� ( _yi_,exp _yi −_,exp _yi_ <u>,cal)</u> RMSE _=_ - <u>�</u> _n_ _<u>i</u>_ _=_ <u>1</u> <sup>(</sup> <sup>_Yi_</sup> <sup>,exp</sup> <sup>_−_</sup> <sup>_Yi_</sup> <sup>,cal)2</sup> (10) _n_ SEP(%) _=_ <sup><u>RMSE</u></sup> _Ye_ _×_ 100 (11) 250 Yamina Ammi _et al._ Table 2. Statistical parameters of the ANNs model Training <u>phase</u> Testing <u>phase</u> Total <u>phase</u> Correlation coefficient ( _R_ ) Mean absolute error (MAE) (%) Model predictive error (MPE) (%) Root mean squared error (RMSE) (%) Standard error of prediction (SEP) (%) Residual predictive deviation (RPD) (%) Range error ratio (RER)(%) 0.9942 0.9853 0.9930 1.0669 1.3504 1.1236 1.3905 1.5300 1.4184 1.7133 2.1515 1.8094 1.8957 2.3254 1.9926 9.3512 5.6898 8.4808 57.6144 30.6188 54.5525 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: _•_ Connection weights of input–hidden; _•_ Connection weights of hidden–output. The RI of all output weights attributable to the given input variable is then obtained by the two following equations: _|wji_ <sup>_I_</sup> (14) <sup>_H_</sup> 1 _j_ <sup>_|_</sup> _Qji =_ RI _i_ (%) _=_ _|wji_ <sup>_I_</sup> <sup>_w H_</sup> 1 _j_ <sup>_|_</sup> <u>�</u> _nii_ _=_ 1 <sup>_|w I_</sup> _ji_ <sup>_w_</sup> - _nj_ _j_ _=_ 1 <sup>_Qji_</sup> <u>�</u> _ni_ <u>�</u> _nj_ _i_ _=_ 1 _j_ _=_ 1 <sup>_Qji_</sup> _ji_ <sup>_I_</sup> <sup>_w H_</sup> 1 _j_ <sup>_I_</sup> _ji_ <sup>_w H_</sup> 1 _j_ _∗_ 100. (15) RER _=_ <sup><u>Max</u></sup> <sup>_−_</sup> <sup><u>Min</u></sup> (13) RMSE The 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. In 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). Table 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, where _n_ is the total number of data points; _Yi_,exp is the experimental value, _Yi_,cal represents the calculated value from the ANN model, _Ye_ 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. The 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. The 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 Yamina Ammi _et al._ 251 Table 3. Evaluation of different SVM models using different kernels and optimal values of hyperparameters <u>Kernel functions</u> <u>N° SV</u> <u>Phase</u> <u>AEM</u> _<u>R</u>_ Linear C _=_ 10.0000 Training phase 6.6477% 0.7130 107 Testing phase 5.9999% 0.7715 nu _=_ 0.5000 107 Testing phase 5.9999% 0.7715 Polynomial C _=_ 10.0000 Overall phase 6.5180% 0.7169 Training phase 5.5228% 0.9137 nu _=_ 0.5000 Testing phase 5.9648% 0.8525 54 Degree _=_ 3 Overall phase 5.6112% 0.9036 Gamma _=_ 0.51 RBF C _=_ 10.0000 Training phase 1.3179% 0.9934 96 Testing phase 2.0162% 0.9711 nu _=_ 0.5000 96 Testing phase 2.0162% 0.9711 Gamma _=_ 3.51 Overall phase 1.4576% 0.9899 Sigmoid C _=_ 13.0000 Training phase 8.8734% 0.82 22 Testing phase 10.7724% 0.6839 nu _=_ 0.3000 22 Testing phase 10.7724% 0.6839 <u>Gamma</u> _=_ <u>0.078</u> <u>Overall phase</u> <u>9.2532%</u> <u>0.7968</u> N° SV: Number of support vector. AEM: Absolute error mean. _R_ : Correlation coefficient. 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. Figure 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 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 252 Yamina Ammi _et al._ Figure 7. Predicted versus experimental data agreement plot: (a) for the training phase, (b) for the testing phase, and (c) for the total phase. Table 4. Statistical evaluation of the models’ performance <u>ANN model</u> <u>SVM model</u> <u>Training phase</u> <u>Testing phase</u> <u>Total phase</u> <u>Training phase</u> <u>Testing phase</u> <u>Total phase</u> _R_ 0.9942 0.9853 0.9930 0.9934 0.9711 0.9900 MAE (%) 1.0669 1.3504 1.1236 1.3179 2.0163 1.4576 MPE (%) 1.3905 1.5300 1.4184 2.8955 2.6508 2.8465 RMSE (%) 1.7133 2.1515 1.8094 1.8654 3.3269 2.2355 SEP (%) 1.8957 2.3254 1.9926 2.0557 3.6533 2.4618 RPD (%) 9.3512 5.6898 8.4808 8.5353 3.8769 6.8644 RER (%) 57.6144 30.6188 54.5525 52.9154 20.0713 15.3455 MSE (%) 2.9353 4.6291 3.2741 3.4798 11.0684 4.9975 MRSE (%) 6.1443 _×_ 10 <sup>_−_</sup> <sup>8</sup> 3.8806 _×_ 10 <sup>_−_</sup> <sup>6</sup> 3.6182 _×_ 10 <sup>_−_</sup> <sup>7</sup> 7.9024 _×_ 10 <sup>_−_</sup> <sup>6</sup> 8.2151 _×_ 10 <sup>_−_</sup> <sup>5</sup> 1.6468 _×_ 10 <sup>_−_</sup> <sup>5</sup> RAE (%) 2.4788 _×_ 10 <sup>_−_</sup> <sup>4</sup> 0.0020 6.0151 _×_ 10 <sup>_−_</sup> <sup>4</sup> 0.0028 0.0091 0.0041 _A f_ 1.0002 1.0033 1.0005 1.0056 1.0183 1.0081 _<u>B f</u>_ <u>0.9998</u> <u>1.0033</u> <u>1.0005</u> <u>1.0056</u> <u>1.0183</u> <u>1.0081</u> cantly low root mean squared error RMSE of 1.8654%. The testing phase indicates the excellent generalization performance of the SVM model (0.95 _< R_ _<_ 1), inasmuch as the correlation coefficient “ _R_ ” and root mean squared error “RMSE” are 0.9711 and 3.3269% respectively. Besides, the predictive ability of the SVM model is demonstrated by the total phase, which follows closely the trend of the experimental rejections of anti-inflammatory drugs by NF/RO, except for few points for which the deviations between experimental and model-predicted values are noteworthy. The correlation coefficient “ _R_ ” and root mean squared error “RMSE” are 0.9900 and 2.2355% respectively. 5. Comparison of models The 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 Yamina Ammi _et al._ 253 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]: - _n_ _i_ _=_ 1 - _n_ _i_ _=_ 1 MSE _=_ <sup><u>1</u></sup> _n_ MSE _=_ <sup><u>1</u></sup> ( _yi_,exp _−_ _yi_,cal) <sup>2</sup> (16) 6. Conclusions In 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: _dc_, 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. Both 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. Acknowledgments The work was supported by the laboratory of Biomaterials and Transport; the authors gratefully acknowledge the team of University of Medea and the University of Relizane. Supplementary data Supporting information for this article is available on [the journal’s website under https://doi.org/10.5802/](https://doi.org/10.5802/crchim.76) [crchim.76 or from the author.](https://doi.org/10.5802/crchim.76) References [1] H. Q. Dang, _J. Environ. Treatment Tech._, 2020, 8, 900. [2] D. Gomes, M. Cardoso, R. C. Martins, R. M. Quinta-Ferreira, L. M. Gando-Ferreira, _Water Sci. Technol._, 2020, 81, 732. [3] D. Ralla, A. M. Schweidtmann, B. M. Aumeier, J. Kamp, J. Kar wea, K. Ostendorf, A. Mitsos, M. Wessling, _J. Membr. Sci._, 2020, 600, 1. [4] T. Fujioka, H. Kodamatani, W. Yujue, K. D. Yu, E. R. Wanjaya, H. Yuan, M. Fang, S. A. Snyder, _J. Membr. Sci._, 2020, 595, article no. 117577. �2 (17) MRSE _=_ <sup><u>1</u></sup> _n_ MRSE _=_ <sup><u>1</u></sup> - _yi_,exp _−_ _yi_ <u>,cal</u> _yi_,exp REA _=_ - _n_ _i_ _=_ 1 ���� _yi_,exp _yi −_,exp _yi_ <u>,cal</u> ���� �� _n_ _A f_ _=_ 10 _i_ _=_ 1 _yi_ <u>,cal</u> ����log _yi_,exp _n_ �� _n_ _i_ _=_ 1 <sup>log</sup> _B f_ _=_ 10 (18) ���� (19) . (20) _yi_ <u>,cal</u> _yi_,exp _n_ The 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 <sup>_−_</sup> <sup>7</sup> %, RAE _=_ 6.0151 _×_ 10 <sup>_−_</sup> <sup>4</sup> %, _A f_ _=_ 1.0005%, and _B f_ _=_ 1.0005% for the total phase). On 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. 254 Yamina Ammi _et al._ [5] M. N. Fini, J. Zhu, B. V. d. Bruggen, H. T. Madsen, J. Muff, _J. Membr. Sci._, 2020, 612, article no. 118458. [6] X.-L. Cao, Y.-N. Yan, F.-Y. Zhou, S.-P. Sun, _J. Membr. Sci._, 2020, 595, article no. 117476. [7] Y. Song, Y. Sun, M. Chen, P. Huang, T. Li, X. Zhang, K. Jiang, _J. Water Process. Eng._, 2020, 34, article no. 101086. [8] L. Lan, X. Kong, H. Sun, C. Li, D. Liu, _J. Environ. Manage._, 2019, 231, 439. [9] D. I. d. Souza, A. Giacobbo, E. d. S. Fernandes, M. A. S. Ro drigues, M. N. d. Pinho, A. M. Bernardes, _Membranes_, 2020, 10, article no. 156. [10] X. Jin, J. Hu, S. L. Ong, _Water Res._, 2010, 44, 638. [11] M. Aziz, T. Ojumu, _Membrane_, 2020, 10, article no. 37. [12] C. F. Coutoa, A. V. Santosa, M. C. S. Amarala, L. C. Langea, L. H. d. Andradeb, A. F. S. Foureauxa, B. S. Fernandes, _J. Water_ _Process. Eng._, 2020, 33, article no. 101029. [13] S. Gur-Reznik, I. Koren-Menashe, L. Heller-Grossman, O. Rufel, C. G. Dosoretz, _Desalination_, 2011, 277, 250. [14] Y. Lanteri, A. Szymczyk, P. Fievet, _Langmuir_, 2008, 24, 7955. [15] D. Libotean, J. Giralt, R. Rallo, Y. Cohen, F. Giralt, H. F. Ridgway, G. Rodriguez, D. Phipps, _J. Membr. Sci._, 2008, 313, 23. [16] V. Yangali-Quintanilla, A. Verliefde, T. U. Kim, A. Sadmani, M. Kennedy, G. Amy, _J. Membr. Sci._, 2009, 342, 251. [17] V. Yangali-Quintanilla, A. Sadmani, M. McConville, M. Kennedy, G. Amy, _Water Res._, 2010, 44, 373. [18] S. Arash, B. Christopher, _Sep. Purif. Technol._, 2013, 118, 627. [19] Y. Ammi, L. Khaouane, S. Hanini, _Korean J. Chem. Eng._, 2015, 32, 2300. [20] L. Khaouane, Y. Ammi, S. Hanini, _Arab._ _J. Sci. Eng._, 2017, 42, 1443. [21] Y. Ammi, L. Khaouane, S. Hanini, _Arab._ _J. Sci. Eng._, 2018, 43, 6271. [22] Y. Ammi, L. Khaouane, S. Hanini, _Kemija Industriji_, 2020, 69, 111-127. [23] P. Agrawal, P. Jayaswal, _J. Inst. Eng. India Ser. C_, 2020, 101, 61. [24] H. Benimam, C. Si-Moussa, M. Laidi, S. Hanini, _Neural Com-_ _put. Appl._, 2020, 32, 8635. [25] J. García-Alba, J. F. Bárcena, C. Ugarteburu, A. García, _Water_ _Res._, 2019, 150, 283. [26] C. Bellona, J. E. Drewes, _J. Membr. Sci._, 2005, 249, 227. [27] S. H. Long, D. Nghiem, _Sep. Purif. Technol._, 2007, 57, 182. [28] V. Yangali-Quintanilla, M. Kennedy, G. Amy, T. U. Kim, _Drink._ _Water Eng. Sci._, 2008, 1, 7. [29] C. Y. Tang, Y.-N. Kwon, J. O. Leckie, _Desalination_, 2009, 242, 168. [30] H. Huang, H. Cho, K. Schwab, J. G. Jacangelo, _Desalination_, 2011, 281, 446. [31] D. Dolar, A. Vukovi´c, D. Ašperger, K. Košuti´c, _J._ _Environ. Sci._, 2011, 23, 1299. [32] D. Dolar, T. Ignjatic Zokic, K. Kosutic, D. Asperger, D. Mu tavdzic Pavlovic, _Environ. Sci. Pollut. Res. Int._, 2012, 19, 1033. [33] D. Dolar, K. Kosutic, D. Asperger, _Water Air Soil Pollut. Water_, 2013, 224, 1. [34] J. Garcia-Ivars, L. Martella, M. Massella, C. Carbonell-Alcaina, M.-I. Alcaina-Miranda, M.-I. Iborra-Clar, _Water Res._, 2017, 15, 360. [35] K. Licona, J. V. Nicolini, N. Figueiredo, _J. Water Process. Eng._, 2018, 25, 195. [36] Y. Yang, C. Lia, L.-a. Houa, _Chem. Eng. J._, 2018, 337, 51. [37] R. Xua, P. Zhang, Q. Wanga, X. Wang, K. Yu, T. Xue, X. Wen, _Sep._ _Purif. Technol._, 2019, 212, 299. [38] H. Q. Dang, _J. Environ. Treatment Tech._, 2020, 8, 900. [39] G. D. Garson, _AI Expert_, 1991, 6, 46. [40] A. Goh, _Artif. Intell. Eng._, 1995, 9, 143. [41] R. A. Viscarra Rossel, R. N. McGlynn, A. B. McBratney, _Geo-_ _derma_, 2006, 137, 70.

섹션 본문 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건

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. Back-propagation neural networks for modeling complex systems Artificial Intelligence in Engineering · Elsevier BV · 1995 10.1016/0954-1810(94)00011-s
  8. Organic compounds passage through RO membranes Journal of Membrane Science · Elsevier BV · 2007 10.1016/j.memsci.2007.11.052
  9. Influence of Steric, Electric, and Dielectric Effects on Membrane Potential Langmuir · American Chemical Society · 2008 10.1021/la800677q
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. Assessing the passage of small pesticides through reverse osmosis membranes Journal of Membrane Science · Elsevier BV · 2019 10.1016/j.memsci.2019.117577
  30. 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
  31. 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
  32. Simultaneous rational design of ion separation membranes and processes Journal of Membrane Science · Elsevier BV · 2020 10.1016/j.memsci.2020.117860
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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