Learn R Programming

utiml (version 0.1.4)

remove_skewness_labels: Remove unusual or very common labels

Description

Remove the labels that have smaller number of positive or negative examples based on a specific threshold value.

Usage

remove_skewness_labels(mdata, t = 1)

Arguments

mdata

The mldr dataset to remove the skewness labels.

t

Threshold value. Number of minimum examples positive and negative.

Value

a new mldr object.

See Also

Other pre process: fill_sparse_mldata, normalize_mldata, remove_attributes, remove_labels, remove_unique_attributes, remove_unlabeled_instances, replace_nominal_attributes

Examples

Run this code
# NOT RUN {
remove_skewness_labels(toyml, 20)
# }

Run the code above in your browser using DataLab