Learn R Programming

utiml (version 0.1.6)

remove_unique_attributes: Remove unique attributes

Description

Remove the attributes that have a single value for all instances. Empty and NA values are considered different values.

Usage

remove_unique_attributes(mdata)

Arguments

mdata

The mldr dataset to remove.

Value

a new mldr object.

See Also

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

Examples

Run this code
# NOT RUN {
alt.toy <- toyml
alt.toy$dataset$ratt10 <- mean(alt.toy$dataset$ratt10)
new.toy <- remove_unique_attributes(alt.toy)
# }

Run the code above in your browser using DataLab