Learn R Programming

mldr.resampling (version 0.2.3)

MLROS: Randomly clones instances with minoritary labels

Description

This function implements the ML-ROS algorithm. It is a preprocessing algorithm for imbalanced multilabel datasets, whose aim is to identify instances with minoritary labels, and randomly clone them.

Usage

MLROS(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)
library(mldr.resampling)
MLROS(birds, 25)

Run the code above in your browser using DataLab