View source: R/memory_undersampling.R
| memory_undersampling | R Documentation |
The training data keeps every row of the minority class and the same number of rows of the majority class, drawn at random (kept in temporal order).
memory_undersampling(min_per_class = 50)
min_per_class |
Minimum number of rows of each class to balance. Below it, the training data is the observed (unbalanced) data. |
A memory_undersampling object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.