imbalanceKit: Resampling Methods and Tools for Imbalanced Classification

A collection of resampling methods for class imbalance in classification problems. Includes the oversampling methods SMOTE with boosting (SMOTEWB) by F. Sağlam and M. A. Cengiz (2022) <doi:10.1016/j.eswa.2022.117023>, Markov chain SMOTE (MCSMOTE) by F. Sağlam and M. A. Cengiz (2025) <doi:10.1016/j.asoc.2025.113906>, uncertainty guided oversampling (UGO) by F. Sağlam and M. A. Cengiz (2026) <doi:10.1016/j.knosys.2026.115886>, and bi-directional SMOTE (BiSMOTE) by F. Sağlam and U. Yamak (2027) <doi:10.1016/j.eswa.2026.134648>, and the data relocation approach DatRel by F. Sağlam (2025) <doi:10.1007/s10994-025-06755-8>, which can also be applied to synthetic samples from any other source, together with commonly used alternatives such as SMOTE, ADASYN, Borderline-SMOTE, Safe-Level-SMOTE, Radius-SMOTE, VS-SMOTE, geometric SMOTE, random oversampling and undersampling. The methods share the same interface: they take a feature matrix and a factor class variable and return the resampled data together with the synthetic samples. The package also provides performance metrics for imbalanced classification and data complexity measures of class imbalance, class overlap and noise.

Version: 0.2.0
Depends: R (≥ 4.0.0)
Imports: stats, utils, FNN, rpart, Rfast, Rcpp
LinkingTo: Rcpp
Suggests: randomForest, nnet, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-11-14
DOI: 10.32614/CRAN.package.imbalanceKit
Author: Fatih Saglam ORCID iD [aut, cre]
Maintainer: Fatih Saglam <saglamf89 at gmail.com>
License: MIT + file LICENSE
URL: https://fatihsaglam.github.io/imbalanceKit/
NeedsCompilation: yes
Citation: imbalanceKit citation info
Materials: README, NEWS
CRAN checks: imbalanceKit results

Documentation:

Reference manual: imbalanceKit.html , imbalanceKit.pdf
Vignettes: Getting started with imbalanceKit (source, R code)

Downloads:

Package source: imbalanceKit_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: imbalanceKit_0.1.0.zip, r-oldrel: imbalanceKit_0.1.0.zip
macOS binaries: r-release (arm64): imbalanceKit_0.1.0.tgz, r-oldrel (arm64): imbalanceKit_0.1.0.tgz, r-release (x86_64): imbalanceKit_0.1.0.tgz, r-oldrel (x86_64): imbalanceKit_0.1.0.tgz
Old sources: imbalanceKit archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=imbalanceKit to link to this page.