Package: themis Title: Extra Recipes Steps for Dealing with Unbalanced Data Version: 1.0.3.9000 Authors@R: c( person("Emil", "Hvitfeldt", , "emil.hvitfeldt@posit.co", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-0679-1945")), person("Posit Software, PBC", role = c("cph", "fnd"), comment = c(ROR = "03wc8by49")) ) Description: 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 , BorderlineSMOTE 2005 and ADASYN 2008 . Or by decreasing the number of majority cases using NearMiss 2003 or Tomek link removal 1976 . License: MIT + file LICENSE URL: https://github.com/tidymodels/themis, https://themis.tidymodels.org BugReports: https://github.com/tidymodels/themis/issues 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, modeldata, testthat (>= 3.0.0) Config/Needs/website: tidyverse/tidytemplate Config/testthat/edition: 3 Config/usethis/last-upkeep: 2025-04-24 Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 Config/pak/sysreqs: libicu-dev Repository: https://tidymodels.r-universe.dev Date/Publication: 2026-04-10 00:12:25 UTC RemoteUrl: https://github.com/tidymodels/themis RemoteRef: HEAD RemoteSha: 76cf8d0add894b8b1151bcd87c1964656c866fad NeedsCompilation: no Packaged: 2026-07-03 12:54:55 UTC; root Author: Emil Hvitfeldt [aut, cre] (ORCID: ), Posit Software, PBC [cph, fnd] (ROR: ) Maintainer: Emil Hvitfeldt