utiml (version 0.1.7)

remove_attributes: Remove attributes from the dataset

Description

Remove specified attributes generating a new multi-label dataset.

Usage

remove_attributes(mdata, attributes)

Arguments

mdata

The mldr dataset to remove labels.

attributes

Attributes indexes or attributes names to be removed.

Value

a new mldr object.

See Also

Other pre process: fill_sparse_mldata(), normalize_mldata(), remove_labels(), remove_skewness_labels(), remove_unique_attributes(), remove_unlabeled_instances(), replace_nominal_attributes()

Examples

Run this code
# NOT RUN {
toyml1 <- remove_attributes(toyml, c("iatt8","iatt9", "ratt10"))
toyml2 <- remove_attributes(toyml, 10)
# }

Run the code above in your browser using DataLab