evalml.preprocessing.BalancedClassificationDataTVSplit¶
-
class
evalml.preprocessing.
BalancedClassificationDataTVSplit
(balanced_ratio=4, min_samples=100, min_percentage=0.1, test_size=0.25, shuffle=True, random_seed=0)[source]¶ Data splitter for generating training and validation split using Balanced Classification Data Sampler.
Methods
Create Balanced Classification Data TV splitter
Returns the number of splits of this object.
Splits and returns the indices of the training and testing using the data sampler provided.
Transforms the input data with the balancing strategy.