The main goal of our investigation is to raise awareness among chemometricians about how easy it is to introduce data or parameter leakage by inappropriate methods and to demonstrate that high precision is necessary in the interpretation of opinions found in the literature on the preference of leave‐one‐out, leave‐many‐out, and repeated cross‐validation methods. We show how the Kennard–Stone method and inappropriate use of repeated measurements cause data leakage in train/test splitting. We demonstrate how cross‐validation parameters became overoptimistic if they are used in hyperparameter selection of models or in variable selection. We call this effect parameter leakage. We extend the leave‐one‐out/leave‐many‐out scaling law on repeated cross‐validation. We discuss and justify in some model calculations that infinite sample size inconsistencies of leave‐one‐out cross‐validation with respect to leave‐many‐out one can be theoretically important, but it need not be relevant at practical data sizes in chemometrics.
We investigated the relevance of the validation principles on the Quantitative Structure Activity Relationship models issued by Organization for Economic and Co‐operation and Development. We checked the goodness‐of‐fit, robustness and predictivity categories in linear and nonlinear models using benchmark datasets. Most of our conclusions are drawn using the sample size dependence of the different validation parameters. We found that the goodness‐of‐fit parameters misleadingly overestimate the models on small samples. In the case of neural network and support vector models, the feasibility of the goodness‐of‐fit parameters often might be questioned. We propose to use the simplest y‐scrambling method to estimate chance correlation. We found that the leave‐one‐out and leave‐many‐out cross‐validation parameters can be rescaled to each other in all models and the computationally feasible method should be chosen depending on the model type. We assessed the interdependence of the validation parameters by calculating their rank correlations. Goodness of fit and robustness correlate quite well over a sample size for linear models and one of the approaches might be redundant. In the rank correlation between internal and external validation parameters, we found that the assignment of good and bad modellable data to the training or the test causes negative correlations.
14 May 2004 in The Journal of Physical Chemistry B
The dependence of statistical validation parameters was investigated on the size of the sample taken in fit of multivariate linear curves. We observed that R2 and related internal parameters were misleading as they overestimated the goodness-of-fit of models at small sample size. Cross-validation metrics showed correct trends. It was possible to scale the leave-one-out and the leave-many-out results close to identical by correcting the degrees of freedom of the models. y and x-randomized validation parameters were calculated and the methods provided close to identical results. We suggest to use the simplest methods in both cases. The external parameters followed correct trends with respect to the sample size, but their sensitivity differed. We plotted the Roy-Ojha metrics in 2D and we coloured them with respect to other external parameters to provide an easy classification of models. The rank correlations were calculated between the performance parameters. Up to a sample size, goodness-of-fit and robustness were distinguishable, but above a certain sample size, the parameters were redundant. The external-internal pairs were weakly correlated. Our data show that all the three aspects of validation are necessary at small sample sizes, but the internal check of robustness is not informative above a given sample size.
We developed an iterative scheme to optimize classical mechanical pair-potential parameters of liquids on the basis of diffraction data. An iterative step, similarly as in our previous method, consists of two parts: A classical mechanical simulation with an assumed pair potential and the modification of the potential using the experimental data and quantities calculated in the simulation. The modification part is formulated according to the Gauss–Newton–Marquardt nonlinear parameter fit. The method is used to get tabulated potentials, and seems to be robust also in the case of a fit of few hundred parameters simultaneously. The method keeps the advantages of our previous procedure: The fitted function is the measured structure factor, the Fourier transformation is applied with controllable error, the total functions are determined from the partial ones to avoid the solution of linear equations, and the error of the experiments can be taken into account explicitly. The theoretical justification of the method is the one to one correspondence of the pair potential and the structure factor proved by the inverse theorem of statistical mechanics. We determined effective pair potentials in a tabulated form for liquid mercury at 10 different densities to investigate the structural changes around its metal–nonmetal transition. We found neither a drastic change nor a change in the trends in the structural and pair potential functions. Our results fit well to some of the previous theories about the transition.