| OverSampler | R Documentation |
A class for oversampling datasets.
deepANN::Sampler -> OverSampler
fit_resample()Oversample the dataset.
OverSampler$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.
OverSampler$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.