CategoryMismatchTrainTest.add_condition_new_category_ratio_less_or_equal#
- CategoryMismatchTrainTest.add_condition_new_category_ratio_less_or_equal(max_ratio: float = 0)[source]#
Add condition - require column’s ratio of instances with new categories to be less or equal to threshold.
- Parameters
- max_ratiofloat , default: 0
Number of different categories value types which is the maximum allowed.