rs.TomekUnder: Undersampling with Tomek links

Description Usage Arguments Value

View source: R/ResamplingStrategies.R

Description

Undersampling with Tomek links

Usage

1
rs.TomekUnder(form, train, rem = "maj", ...)

Arguments

form

A model formula

train

A data.frame object with the training data

rem

Indicates if both parts of the Tomek link should be removed ("both") or solely the case from the majority class ("maj")

...

Additional parameters for the resampling strategy

Value

New data set


nunompmoniz/autoresampling documentation built on April 26, 2021, 4:43 a.m.