evalml.preprocessing.BalancedClassificationDataCVSplit

class evalml.preprocessing.BalancedClassificationDataCVSplit(balanced_ratio=4, min_samples=100, min_percentage=0.1, n_splits=3, shuffle=True, random_seed=0)[source]

Data splitter for generating k-fold cross-validation split using Balanced Classification Data Sampler.

Methods

__init__

Create Balanced Classification Data CV splitter

get_n_splits

Returns the number of splits of this object.

split

Splits and returns the indices of the training and testing using the data sampler provided.

transform_sample

Transforms the input data with the balancing strategy.

Class Inheritance

Inheritance diagram of BalancedClassificationDataCVSplit