Learn R Programming

mldr.resampling (version 0.2.3)

LPROS: Randomly clones instances with minoritary labelsets

Description

This function implements the LP-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

LPROS(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)
LPROS(birds, 25)

Run the code above in your browser using DataLab