IndexTrainTestLeakage.add_condition_ratio_not_greater_than#

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

Add condition - require index leakage ratio to not surpass max_ratio.

Parameters
max_ratiofloat , default: 0

Maximum ratio of index leakage.