| RandomUnderSampler | R Documentation |
A class for random undersampling datasets.
deepANN::Sampler -> RandomUnderSampler
fit_resample()Random undersample the dataset.
RandomUnderSampler$fit_resample(X, y)
XFeature data set, usually a data.frame or an array of shape (n_samples, n_features).
yTarget data set, usually a column of a data.frame or an array which holds the corresponding label for each sample in X.
A list with X_resampled and y_resampled.
clone()The objects of this class are cloneable with this method.
RandomUnderSampler$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.