Learn R Programming

utiml (version 0.1.7)

remove_unlabeled_instances: Remove examples without labels

Description

Remove the examples that do not have labels.

Usage

remove_unlabeled_instances(mdata)

Arguments

mdata

The mldr dataset to remove the instances.

Value

a new mldr object.

See Also

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

Examples

Run this code
# NOT RUN {
new.toy <- remove_labels(toyml, c(12,14))
remove_unlabeled_instances(new.toy)
# }

Run the code above in your browser using DataLab