DateTrainTestLeakageDuplicates.add_condition_leakage_ratio_less_or_equal#

DateTrainTestLeakageDuplicates.add_condition_leakage_ratio_less_or_equal(max_ratio: float = 0)[source]#

Add condition - require leakage ratio to be less or equal to threshold.

Parameters
max_ratiofloat , default: 0

Maximum ratio of leakage.