IndexTrainTestLeakage.run_logic

IndexTrainTestLeakage.run_logic(context: CheckRunContext) CheckResult[source]

Run check.

Returns
CheckResult

value is the ratio of index leakage. data is html display of the checks’ textual result.

Raises
DeepchecksValueError

If one of the datasets is not a Dataset instance with an index