Skip to content

themis

1.0.3

Extra Recipes Steps for Dealing with Unbalanced Data

10packages depend
230.3Kdownloads / year
98.3%test coverage
13/13checks pass

Overview

About
Maintained by Emil HvitfeldtFirst published 2020-01-1312 releasesCRAN page ↗GitHub ↗

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 https://ieeexplore.ieee.org/document/4633969. 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 https://ieeexplore.ieee.org/document/4309452.

Install

Health

CRAN checks
13OK
Slowest check: 4.6 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 1.19
98.3%
Coverage · measured lines
100%
Documentation · exports
15
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 461 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
94%
References docs
65%

Downloads

230.3K
CRAN downloads in the past year
Rank #960 · ~631/day · ~19.2K/mo
Daily download trend is not available in this view yet.
11K30 days
48.3K90 days
230.3K1 year
Compare downloads with other packages →
Also on822 r2u33 autocran2.6K conda_forge

Repository

Repository
142Stars
14Forks
37Open issues
0Open PRs
12Releases
538Commits
11Contributors
538 commits · Last activity 2026-07-22 · 0% stars, 30d

Stars over time

2025-02-27 · 1402026-07-07 · 142

Repository practices

Upstream repositoryBeta

9 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/tidymodels/themis on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (3)
AirVS CodeRStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.6recipes
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Copyright holder, Funder · added in 1.0.1
Funders (1)
Copyright holder, Funder · added in 1.0.1
Package Timeline

12 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.3Latest
    2025-01-23 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.2
    2023-08-14 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.1
    2023-04-15 · diff ↗
  • 1.0.0
    2022-07-02 · diff ↗
  • 0.2.2
    2022-05-12 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.1
    2022-04-13 · diff ↗
  • 0.2.0
    2022-03-30 · diff ↗
  • 0.1.4
    2021-06-12 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.3
    2020-11-12 · diff ↗
  • 0.1.2
    2020-08-14 · diff ↗
Show 4 earlier events
  • 0.1.1
    2020-05-17 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    2020-01-13
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-01-13
Total releases
12 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.6
Bundled data
5.3 KB / 1 file
Download size
159 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →