Skip to main content
. 2021 Mar 4;17(3):e1008671. doi: 10.1371/journal.pcbi.1008671

Fig 10. The proper workflow for cross-validation that includes data preprocessing.

Fig 10

In this workflow preprocessing is not done prior to splitting the data. The preprocessing recipe, provided by the Preprocess widget, enters the cross-validation procedure and is applied to each training data subset separately, without being informed by the data that is used in testing.