themis: Extra Recipes Steps for Dealing with Unbalanced Data

A dataset with an uneven number of cases in each class is said to be unbalanced. Many models produce a subpar performance on unbalanced datasets. A dataset can be balanced by increasing the number of minority cases using SMOTE 2011 <arXiv:1106.1813>, BorderlineSMOTE 2005 <doi:10.1007/11538059_91> and ADASYN 2008 <>. Or by decreasing the number of majority cases using NearMiss 2003 <> or Tomek link removal 1976 <>.

Version: 0.1.3
Depends: R (≥ 2.10), recipes (≥ 0.1.15)
Imports: dplyr, generics (≥ 0.1.0), purrr, RANN, rlang, ROSE, tibble, unbalanced, withr
Suggests: covr, ggplot2, modeldata, testthat (≥ 2.1.0)
Published: 2020-11-12
Author: Emil Hvitfeldt ORCID iD [aut, cre]
Maintainer: Emil Hvitfeldt <emilhhvitfeldt at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: themis results


Reference manual: themis.pdf
Package source: themis_0.1.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: themis_0.1.3.tgz, r-oldrel: themis_0.1.3.tgz
Old sources: themis archive


Please use the canonical form to link to this page.