evalml.preprocessing.SMOTETomekCVSplit¶
-
class
evalml.preprocessing.
SMOTETomekCVSplit
(sampling_strategy='auto', n_splits=3, shuffle=True, n_jobs=- 1, random_seed=0)[source]¶ Splits the data into KFold cross validation sets and uses SMOTE + Tomek links to balance the training data. Keeps the validation data the same. Works only on continuous, numeric data.
Methods
Create a TV or CV data splitter instance
Returns the number of splits of this object.
Splits and returns the sampled training data using the data sampler provided.
Transforms the input data with the balancing strategy.