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

1
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_sparce_mldata, normalize_mldata, remove_attributes, remove_labels, remove_unique_attributes, remove_unlabeled_instances, replace_nominal_attributes

Examples

1
remove_skewness_labels(toyml, 20)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.