Provides functionality for accomplishment of learning with cross-validation by generating a set of training data/validation data pairs with equal distribution of points from two different classes between folds.
More...
Provides functionality for accomplishment of learning with cross-validation by generating a set of training data/validation data pairs with equal distribution of points from two different classes between folds.
This class corresponds to the old doFoldr() and doFoldStratified() methods.
◆ __init__()
def python.learner.folding.StratifiedFoldingPolicy.StratifiedFoldingPolicy.__init__ |
( |
|
self, |
|
|
|
dataContainer, |
|
|
|
level = 1 |
|
) |
| |
Constructor.
- Parameters
-
dataContainer | DataContainer with data set |
level | Integer folding level, default value: 1 |
◆ seq
python.learner.folding.StratifiedFoldingPolicy.StratifiedFoldingPolicy.seq |
The documentation for this class was generated from the following file: