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 <doi:10.48550/arXiv.1106.1813>, BorderlineSMOTE 2005 <doi:10.1007/11538059_91> and ADASYN 2008. Or by decreasing the number of majority cases using NearMiss 2003 <https://www.site.uottawa.ca/~nat/Workshop2003/jzhang.pdf> or Tomek link removal 1976.
| Version: | 1.1.0 |
| Depends: | R (≥ 4.1), recipes (≥ 1.1.0) |
| Imports: | cli, dplyr, generics (≥ 0.1.0), glue, gower, hardhat, lifecycle (≥ 1.0.3), purrr, RANN, rlang (≥ 1.1.0), ROSE, tibble, vctrs, withr |
| Suggests: | covr, dials (≥ 1.2.0), ggplot2, kernlab, modeldata, philentropy, testthat (≥ 3.0.0) |
| Published: | 2026-08-02 |
| DOI: | 10.32614/CRAN.package.themis |
| Author: | Emil Hvitfeldt |
| Maintainer: | Emil Hvitfeldt <emil.hvitfeldt at posit.co> |
| BugReports: | https://github.com/tidymodels/themis/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/tidymodels/themis, https://themis.tidymodels.org |
| NeedsCompilation: | no |
| Citation: | themis citation info |
| Materials: | README, NEWS |
| CRAN checks: | themis results |
| Reference manual: | themis.html , themis.pdf |
| Package source: | themis_1.1.0.tar.gz |
| Windows binaries: | r-devel: themis_1.1.0.zip, r-release: themis_1.1.0.zip, r-oldrel: themis_1.1.0.zip |
| macOS binaries: | r-release (arm64): themis_1.1.0.tgz, r-oldrel (arm64): themis_1.1.0.tgz, r-release (x86_64): themis_1.1.0.tgz, r-oldrel (x86_64): themis_1.1.0.tgz |
| Old sources: | themis archive |
| Reverse imports: | BioMoR, sae.projection |
| Reverse suggests: | caret, fastml, h3sdm, mlr3pipelines, mrIML, orbital, RStoolbox, spqrp |
Please use the canonical form https://CRAN.R-project.org/package=themis to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.