Molecular diversity validation
Diversity is a fundamental research subject in chemical database analysis of sampling (40). Molecular diversity analysis explores the way of molecules to cover a determined structural space and underlies many approaches for compound selection and design of combinatorial libraries. The diversity problem involves defining a diverse subset of “representative” compounds so that researchers can scan only a subset of the huge database each time. Therefore, the choice of an optimal metric space that represents the structural diversity of a compound population is determinant in the efficiency of the model (
38,
41). In this work, diversity analysis was done for the data set to make sure the structures of the training or test sets could represent those of the whole ones.
For a database of n compounds generated from m highly correlated chemical descriptors, a distance score (dij) for two compounds Xi and X j can be measured by the Euclidean distance norm based on the compounds descriptors:
Each compound Xi is represented as a vector:
Xi = (xi1, xi2, xi3, . . . , xim)T for i = 1, 2, . . . , n
where xi j denotes the value of descriptor j of compound Xi and T indicates vector transposition. The mean distances ( ) of one sample to the remaining ones were computed as follow:
Then the mean distances were normalized within the interval (0
, 1). In our data sets, the mean distances of samples versus oxidation half-wave potential are plotted in
Figure 3. The distribution of points in this figure illustrates the diversity of the molecules in the training and test sets. As can be seen from this figure, the structures of compounds are diverse in the training and test sets. The training set with a broad representation was adequate to ensure model stability.
| Derivate | X | R1 | R2 | E(1/2)-Exp | E(1/2)-MLR | E(1/2)-ANN |
|---|
| 1 | O | 7-OCH3 | | 1.420 | 1.413 | 1.419 |
| 2 | O | 7-OCH3 | 4-F | 1.430 | 1.434 | 1.424 |
| 3 | O | 7-OCH3 | 4-Br | 1.440 | 1.465 | 1.453 |
| 4 | O | 7-OCH3 | 3-F | 1.445 | 1.458 | 1.441 |
| 5 | O | 7-OCH3 | 3-Cl | 1.450 | 1.461 | 1.447 |
| 6 | O | 7-CH3 | 4-CH3 | 1.415 | 1.412 | 1.418 |
| 7 | O | 6-CH3 | 4-CH3 | 1.420 | 1.416 | 1.423 |
| 8T | O | | 4-Br | 1.490 | 1.522 | 1.533 |
| 9 | O | 6-OCH3 | 4-CH3 | 1.450 | 1.425 | 1.433 |
| 10 | O | 6-OCH3 | 4-F | 1.460 | 1.480 | 1.460 |
| 11 | O | 6-OCH3 | 4-Br | 1.465 | 1.487 | 1.474 |
| 12 | O | 6-OCH3 | 4-Cl | 1.470 | 1.487 | 1.473 |
| 13 | O | 6-OCH3 | 3-F | 1.480 | 1.481 | 1.462 |
| 14 | O | 6-OCH3 | 4-CN | 1.510 | 1.516 | 1.512 |
| 15 | O | 6-Cl | | 1.530 | 1.525 | 1.535 |
| 16 | O | 6-Cl | 3-Cl | 1.590 | 1.589 | 1.591 |
| 17 | S | 7-OCH3 | 4-CH3 | 1.280 | 1.312 | 1.309 |
| 18 | S | 7-OCH3 | | 1.315 | 1.323 | 1.318 |
| 19 | S | 7-OCH3 | 4-F | 1.350 | 1.348 | 1.366 |
| 20 | S | 7-OCH3 | 4-Br | 1.360 | 1.378 | 1.359 |
| 21 | S | 7-OCH3 | 4-Cl | 1.370 | 1.368 | 1.362 |
| 22 | S | 7-OCH3 | 3-F | 1.390 | 1.363 | 1.376 |
| 23T | S | 7-OCH3 | 3-Cl | 1.395 | 1.370 | 1.364 |
| 24 | S | 7-OCH3 | 4-CF3 | 1.405 | 1.433 | 1.430 |
| 25T | S | 7-OCH3 | 3,4-Cl2 | 1.420 | 1.417 | 1.408 |
| 26 | S | 7-CH3 | 4-CH3 | 1.305 | 1.323 | 1.308 |
| 27T | S | 6-CH3 | 4-CH3 | 1.320 | 1.328 | 1.308 |
| 28 | S | | 4-Br | 1.420 | 1.449 | 1.428 |
| 29 | S | 6-OCH3 | 4-CH3 | 1.330 | 1.336 | 1.326 |
| 30 | S | 6-OCH3 | | 1.360 | 1.353 | 1.350 |
| 31 | S | 6-OCH3 | 4-F | 1.380 | 1.395 | 1.403 |
| 32 | S | 6-OCH3 | 4-Br | 1.400 | 1.406 | 1.408 |
| 33 | S | 6-OCH3 | 4-Cl | 1.400 | 1.402 | 1.402 |
| 34 | S | 6-OCH3 | 3-F | 1.410 | 1.399 | 1.407 |
| 35 | S | 6-OCH3 | 3-Cl | 1.430 | 1.405 | 1.404 |
| 36 | S | 6-OCH3 | 4-CF3 | 1.440 | 1.455 | 1.451 |
| 37T | S | 6-OCH3 | 3,4-Cl2 | 1.445 | 1.451 | 1.444 |
| 38 | S | 6-OCH3 | 4-CN | 1.450 | 1.437 | 1.438 |
| 39 | S | 6-Cl | | 1.420 | 1.443 | 1.420 |
| Name of descriptors | Symbol | Coefficient | SE | Mean effect |
|---|
| Relative number of H atom | X1 | -0.13 | ±0.027 | -0.796 |
| Partial positive surface area(order-3) | X2 | -0.1 | ±0.004 | -0.086 |
| Maximum electrophyl reaction index for N atom | X3 | 0.023 | ±0.002 | 0.075 |
| HOMO energy | X4 | -0.079 | ±0.051 | 1.010 |
| Maximum valency of C atom | X5 | 2.298 | ±1.012 | 8.880 |
| Constant | | -7.903 | ±3.65 | |
| X1 | X2 | X3 | X4 | X5 |
|---|
| X1 | 1.000 | 0.255 | 0.075 | 0.650 | 0.670 |
| X2 | | 1.000 | -0.027 | -0.010 | -0.163 |
| X3 | | | 1.000 | -0.352 | 0.009 |
| X4 | | | | 1.000 | 0.253 |
| X5 | | | | | 1.000 |
| Models | Training set | Test set | Cross-validation Test |
|---|
| R | SE | R | SE | Q2 | SPRESS |
| ANN | 0.983 | 0.012 | 0.971 | 0.017 | 0.949 | 0.015 |
| Transfer Function | Sigmoidal |
|---|
| No. of Hidden Layer Nods | 2 |
| Weight Learning Rate | 0.2 |
| Bias Learning Rate | 0.6 |
| Momentum | 0.3 |
| No. of Input Layer Nods | 5 |
Plot of R2 for the obtained models versus the number of descriptors involved
Scatter plot of samples for training and test sets according to the mean distances distribution
Calculated. E1/2 versus Experimental E1/2 plot
Residual versus Experimental E1/2 plot
Principal component analysis on the selected molecular descriptors for the consensus model
Sensitivity analysis results
Linear modeling
The SPSS software (Ver. 14) was used to developing many MLR models (43). The best model was selected based on the statistics of correlation coefficient (R), standard error (SE) and Fisher-statistics value (F). Consequently, among different models, the five-parameter model was chosen based on the break point procedure. Descriptors which were selected by this method are: high occupied molecular orbital energy(HOMO), partial positive surface area, maximum valency of carbon atom, relative number of hydrogen atoms and maximum electrophilic reaction index for nitrogen atom that have shown in
Table 2.
Multicollinearity for the selected parameters (descriptors) was also checked and its result was presented in
Table 3. As can be seen in this table there are not any high correlation between these descriptors. Then the MLR model was used to calculate of E
1/2 for test set as well as training set. The MLR predicted values of E
1/2 were shown in
Table 1. Finally, the leave 8-out cross-validation (L8O) was used to evaluate credibility and robustness of these models. The statistical parameters of this test were shown in
Table 4. Other statistical parameters of MLR model are: average error = 0.0002, relative error = 0.0022 and absolute error = 0.0102, respectively.
Non-linear modeling
A three-layer network with a sigmoid transfer function was designed for ANN model. The network was trained using the training set by the back propagation strategy for optimization of the weights and bias values. To obtain the best result the weight and bias learning rate and momentum value as well as ANN’s topology were optimized. The procedure for optimization of ANN’s parameters is given elsewhere (
37,
38). The optimized values of these terms and ANN characteristics are given in
Table 5. Then the constructed ANN model was used to calculate the E
1/2 for test set as well as training set. The predicted values of E
1/2 by ANN model were shown in
Table 1. Moreover, the leave-8-out cross-validation (L8O) was used to evaluate the credibility and robustness of the ANN model. The statistical parameters of this test were shown in
Table 4. Other statistical parameters of ANN model are, average error = 0.0046, relative error = 0.0040 and absolute error = 0.0137, respectively. In comparison whit MLR statistical parameters and other statistical values in
Table 4, it can be seem that the performance of ANN model was better than MLR ones.
Figure 4 indicates the variation of ANN predicted against experimental values of E
1/2 that the agreement between the predicted and experimental values is clear (R
(training set) =0.0983 and R
(test set) =0.971). Also, the residual values between ANN predicted and experimental values of half-wave electrooxidation potential of benzoxazines were traced in
Figure 5.
The random distribution of residuals about zero line confirms that there is no systematically error in developed ANN model. To verify the chemical domain of the consensus model and the distribution of the studied chemicals in this new multidimensional space, the chemicals are plotted in a principal components 3D-graph (
Figure 6), which was obtained by applying PCA on all molecular descriptors used by these models. This PCA plot shows that chemicals have fine distribution in the molecular descriptors domain.
Sensitivity analysis and descriptor interpretation
By interpreting selected descriptors in the ANN model, it is possible to gain some insight into the factors that are likely to govern the E
1/2 of benzoxazines. Here, a brief interpretation of these factors in order to determine the relative importance of each variable is given based on the results of sensitivity analysis. The procedure of this approach is based on the sequential removal of variables by zeroing the specific connection weights for that specific input variable in the first layer of the ANN (
44). For each sequentially zeroed input variable, root mean square error of prediction set (RMSEP) as the prediction error of this network was calculated. Generally RMSEP value increases in this way. Then, differences between RMSEP and root mean square error of established ANN (RMSE) was calculated and shown as DRMSE. Each variable which causes greater value of DRMSE is more important. The DRMSE values are shown for each descriptor in Figure 7. As the mentioned earlier, five descriptors were used for ANN model to comprise: relative number of H atom, HOMO energy, maximum electrophyl reaction index for N atom, partial positive surface area (order-3), maximum valency of C atom that belonging for constitutional, quantum chemical and charge descriptors and encode electronic aspects of the molecular structure. The order of importance of descriptors is: Relative number of H atom > HOMO energy > Maximum electrophyl reaction index for N atom > Partial positive surface area (order-3) > maximum valency of C atom.
First important descriptor in the model is relative number of H atom that is a simple constitutional type descriptor. This factor indicates the size of molecules as well as the degree of saturation of molecule. The second one is the highest occupied molecular orbital energy which is belonging to quantum chemical descriptors and determines the needed energy to drawing the electron in oxidation process (
45). Molecule with high HOMO energy values can donate its electron more easily than the molecule with lower HOMO value, and hence is more reactive (
26). Next descriptor is maximum electrophylic reaction index for N atom that is the quantum chemical descriptor too. This index provides feasible chemical interaction with electrophilic attack as electron affinity (
46) and is important in molecular properties and reactivity in particular for radical reactions.
The forth descriptor is partial positive surface area (order-3) which is a charge descriptor and contains the electronic and structural information of molecule (
46). This descriptor encodes the solvent accessible surface area of molecule in electrochemical reaction, and can well estimate the absolute hardness and can affect on electrooxidation of benzoxazines. The last descriptor is maximum valency of C atom. This parameter is a charge type descriptor which can affect on electron affinity of the molecule and therefore can correlate to the E
1/2 of a molecule. Thus these descriptors can encode different aspects of molecules which can effect on their E
1/2 values.