We address the problem of selecting and assessing classification and regression models using cross-validation. Current state-of-the-art methods can yield models with high variance, rendering them unsuitable for a number of practical applications including QSAR. In this paper we describe and evaluate best practices which improve reliability and increase confidence in selected models. A key operational component of the proposed methods is cloud computing which enables routine use of previously infeasible approaches. We describe in detail an algorithm for repeated grid-search V-fold cross-validation for parameter tuning in classification and regression, and we define a repeated nested cross-validation algorithm for model assessment. As regards variable selection and parameter tuning we define two algorithms (repeated grid-search cross-validation and double cross-validation), and provide arguments for using the repeated grid-search in the general case. We show results of our algorithms on seven QSAR datasets. The variation of the prediction performance, which is the result of choosing different splits of the dataset in V-fold cross-validation, needs to be taken into account when selecting and assessing classification and regression models. We demonstrate the importance of repeating cross-validation when selecting an optimal model, as well as the importance of repeating nested cross-validation when assessing a prediction error.
22 September 2021 in Journal of Chemical Information and Modeling
Recently Martin-Ruiz et al.1 published an article in the International Journal of Epidemiology , reporting results and conclusions from an international collaborative study of telomere length assessment. They analysed results from 10 different laboratories, employing three different techniques, where they performed two rounds of fully blinded measurements on 10 human DNA samples per round, to enable unbiased assessment of intra- and inter-batch variation between laboratories and techniques. We used the data in the Supplementary material generously supplied by the authors to perform their analysis.
Recently Bosc et al. (J Cheminform 11(1): 4, 2019), published an article describing a case study that directly compares conformal predictions with traditional QSAR methods for large-scale predictions of target-ligand binding. We consider this study to be very important. Unfortunately, we have found several issues in the authors’ approach as well as in the presentation of their findings.
We analyse an issue when comparing survival curves between two subgroups. We show that there is a direct relationship between estimates of subgroups' survival at a time point and positive and negative predictive values in the binary classification settings. Our findings present a case where current methods of comparing survival curves between subgroups may be misleading. We think that this ought to be taken into account during the validation of prognostic diagnostic tests that predict two prognostic subgroups for a given disease or treatment, when the validation data set consists of censored data.