Learn R Programming

mldr.resampling (version 0.2.3)

MLRUS: Randomly deletes instances with majoritary labels

Description

This function implements the ML-RUS algorithm. It is a preprocessing algorithm for imbalanced multilabel datasets, whose aim is to identify instances with majoritary labels, and randomly delete them from the original dataset.

Usage

MLRUS(D, P)

Value

A mld object containing the preprocessed multilabel dataset

Arguments

D

mld mldr object with the multilabel dataset to preprocess

P

Percentage in which the original dataset is increased

Examples

Run this code
library(mldr)
MLRUS(birds, 25)

Run the code above in your browser using DataLab