CategoryMismatchTrainTest.add_condition_new_categories_less_or_equal#

CategoryMismatchTrainTest.add_condition_new_categories_less_or_equal(max_new: int = 0)[source]#

Add condition - require column’s number of different new categories to be less or equal to threshold.

Parameters
max_newint , default: 0

Number of different categories value types which is the maximum allowed.