Collection of the state of the art multilabel resampling algorithms. The objective of these algorithms is to achieve balance in multilabel datasets.
Use install.packages
to install mldr.resampling
and its dependencies:
install.packages("mldr.resampling")
Alternatively, you can install it via install_github
from the devtools
package.
::install_github("madr0008/mldr.resampling") devtools
Use devtools::build
from devtools to build the
package:
::build(args = "--compact-vignettes=gs+qpdf") devtools
This package has an interface function that can be called in order to execute the desired algorithms, on the desired mldr datasets. This function can be called as follows:
library(mldr.resampling)
resample(birds, c("MLSOL", "MLeNN"), P=30, k=5, TH=0.4)
For more examples and detailed explanation on available functions, please refer to the documentation.