NewLabelTrainTest.add_condition_new_label_ratio_less_or_equal#

NewLabelTrainTest.add_condition_new_label_ratio_less_or_equal(max_ratio: float = 0)[source]#

Add condition - require label column’s ratio of new label samples to be less or equal to the threshold.

Parameters
max_ratiofloat , default: 0

Ratio of new label samples to total samples which is the maximum allowed.