remove_attributes {utiml} | R Documentation |
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.
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
toyml1 <- remove_attributes(toyml, c("iatt8","iatt9", "ratt10"))
toyml2 <- remove_attributes(toyml, 10)
[Package utiml version 0.1.7 Index]