Skip to content

[source]

Leave P Out#

Leave P Out tests a learner with a unique holdout set of size p for each iteration until all samples have been tested. Although Leave P Out can take long with large datasets and small values of p, it is especially suited for small datasets.

Interfaces: Validator, Parallel

Parameters#

# Name Default Type Description
1 p 10 int The number of samples to leave out each round for testing.

Example#

use Rubix\ML\CrossValidation\LeavePOut;

$validator = new LeavePOut(50);

Last update: 2021-01-23