TransWikia.com

NxN- fold cross validation

Cross Validated Asked by Tauling on February 21, 2021

I just stumbled over the expression NxN- fold cross validation and i am not sure what it’s exact meaning.

N-fold cross validation, as i understand it, means we partition our data in N random equal sized subsamples. A single subsample is retained as validation for testing and the remaining N-1 subsamples are used for training. The result is the average of all test results.

N-fold cross validation [wikipedia]

Now my question is what does NxN-fold cross validation mean?

One Answer

To be precise, most probably you are referring to N x K-fold cross-validation (CV), i.e. the two numbers are not necessarily the same. This is usually referred to as repeated k-fold CV.

The N in NxK-fold CV refers to how many times the K-fold CV is to be repeated, each time with different partitions of the dataset.

This does not exactly conform to your picture, which is not entirely accurate, since it implies that the folds consist of continuous chunks of data, which is not the case in general.

Here is the relevant excerpt from Applied Predictive Modeling:

Repeated k-fold CV does the same as above but more than once. For example, five repeats of 10-fold CV would give 50 total resamples that are averaged. Note this is not the same as 50-fold CV.

Answered by desertnaut on February 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP