Learn R Programming

utiml (version 0.1.4)

remove_labels: Remove labels from the dataset

Description

Remove specified labels generating a new multi-label dataset.

Usage

remove_labels(mdata, labels)

Arguments

mdata

The mldr dataset to remove labels.

labels

Label indexes or label names to be removed.

Value

a new mldr object.

See Also

Other pre process: fill_sparse_mldata, normalize_mldata, remove_attributes, remove_skewness_labels, remove_unique_attributes, remove_unlabeled_instances, replace_nominal_attributes

Examples

Run this code
# NOT RUN {
toyml1 <- remove_labels(toyml, c("y1","y5"))
toyml2 <- remove_labels(toyml, c(11, 15))
# }

Run the code above in your browser using DataLab