Remove the attributes that have a single value for all instances. Empty and NA values are considered different values.
remove_unique_attributes(mdata)
The mldr dataset to remove.
a new mldr object.
Other pre process:
fill_sparse_mldata()
,
normalize_mldata()
,
remove_attributes()
,
remove_labels()
,
remove_skewness_labels()
,
remove_unlabeled_instances()
,
replace_nominal_attributes()
# 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