remove_labels: Remove labels from the dataset

Description Usage Arguments Value Note See Also Examples

Description

Remove specified labels generating a new multi-label dataset.

Usage

1

Arguments

mdata

The mldr dataset to remove labels.

labels

Label indexes or label names to be removed.

Value

a new mldr object.

Note

If invalid labels names or indexes were informed, they will be ignored.

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

1
2
toyml1 <- remove_labels(toyml, c("y1","y5"))
toyml2 <- remove_labels(toyml, c(11, 15))

utiml documentation built on May 31, 2021, 9:09 a.m.