smote: SMOTE the data for class balance?

Description Usage Arguments Details Value

View source: R/dataTransform.R

Description

Applies the synthetic minority over-sampling technique to a list in a DEWSList to make the data less unbalanced between classes.

Usage

1
smote(dewsList)

Arguments

dewsList

a single element of a DEWSList, e.g. traindata, testdata

Details

See the documentation for SMOTE in the DMwR package for details on how the SMOTE function works.

Value

an element of a dewslist with objects preds and class


jknowles/ModelEWS documentation built on May 19, 2019, 11:42 a.m.