memory_undersampling: Memory with undersampling

View source: R/memory_undersampling.R

memory_undersamplingR Documentation

Memory with undersampling

Description

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).

Usage

memory_undersampling(min_per_class = 50)

Arguments

min_per_class

Minimum number of rows of each class to balance. Below it, the training data is the observed (unbalanced) data.

Value

A memory_undersampling object.


heimdall documentation built on Dec. 2, 2026, 5:08 p.m.