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

Fig 6. Testing with cross-validation.

Fig 6

The Tree widget receives no data and does not output a tree but only an algorithm (ä recipe") for building one. The Randomize widget, which shuffles the data, is here only to demonstrate that cross validation discovers overfitting by showing a small accuracy. In practice, we would use the actual, non-randomized data.