Learn R Programming

mldr.resampling (version 0.2.3)

LPRUS: Randomly deletes instances with majoritary labelsets

Description

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

Usage

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

Run the code above in your browser using DataLab