Skip to main content
. 2021 Jan 28;13:13. doi: 10.1186/s13073-021-00828-8

Fig. 1.

Fig. 1

Cross-validation scheme for logistic regression training and testing. a Schema indicating how each risk score was generated using a logistic regression algorithm trained with a selection of variable features and a dependent outcome label (IHD, MI, early MI). Ten folds of cross-validation were performed after dividing the full UKB dataset into ten equal subsets, each of which was iteratively used as a test set (1/10 of the data) after training on the others (9/10 of the data). In each iteration of the training, all cases were matched with an equal number of randomly sampled controls. b List of features included in each of five different LR models