evalml.preprocessing.SMOTENCTVSplit¶
-
class
evalml.preprocessing.
SMOTENCTVSplit
(categorical_features=None, sampling_strategy='auto', test_size=None, n_jobs=- 1, random_seed=0)[source]¶ Splits the data into training and validation sets and uses SMOTENC to balance the training data. Keeps the validation data the same. Works on numeric and categorical data, but categorical data must be numerical
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.