IndexTrainTestLeakage.add_condition_ratio_less_or_equal#

IndexTrainTestLeakage.add_condition_ratio_less_or_equal(max_ratio: float = 0)[source]#

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

Parameters
max_ratiofloat , default: 0

Maximum ratio of index leakage.