DateTrainTestLeakageOverlap.add_condition_leakage_ratio_less_or_equal#

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

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

Parameters
max_ratiofloat , default: 0

Maximum ratio of leakage.