remove_attributes: Remove attributes from the dataset

Description Usage Arguments Value Note See Also Examples

View source: R/pre_process.R

Description

Remove specified attributes generating a new multi-label dataset.

Usage

1

Arguments

mdata

The mldr dataset to remove labels.

attributes

Attributes indexes or attributes names to be removed.

Value

a new mldr object.

Note

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

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

1
2
toyml1 <- remove_attributes(toyml, c("iatt8","iatt9", "ratt10"))
toyml2 <- remove_attributes(toyml, 10)

utiml documentation built on Aug. 1, 2017, 1:01 a.m.