powered by
Remove the labels that have smaller number of positive or negative examples based on a specific threshold value.
remove_skewness_labels(mdata, t = 1)
The mldr dataset to remove the skewness labels.
Threshold value. Number of minimum examples positive and negative.
a new mldr object.
Other pre process: fill_sparse_mldata(), normalize_mldata(), remove_attributes(), remove_labels(), remove_unique_attributes(), remove_unlabeled_instances(), replace_nominal_attributes()
fill_sparse_mldata()
normalize_mldata()
remove_attributes()
remove_labels()
remove_unique_attributes()
remove_unlabeled_instances()
replace_nominal_attributes()
# NOT RUN { remove_skewness_labels(toyml, 20) # }
Run the code above in your browser using DataLab