1<span style="float:right;"><a href="https://github.com/RubixML/ML/blob/master/src/CrossValidation/LeavePOut.php">[source]</a></span>
2
3# Leave P Out
4Leave 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.
5
6**Interfaces:** [Validator](api.md#validator), [Parallel](#parallel)
7
8## Parameters
9| # | Name | Default | Type | Description |
10|---|---|---|---|---|
11| 1 | p | 10 | int | The number of samples to leave out each round for testing. |
12
13## Example
14```php
15use Rubix\ML\CrossValidation\LeavePOut;
16
17$validator = new LeavePOut(50);
18```