DateTrainTestLeakageOverlap

class DateTrainTestLeakageOverlap[source]

Check test data that is dated earlier than latest date in train.

__init__()[source]
__new__(*args, **kwargs)

Methods

DateTrainTestLeakageOverlap.add_condition(...)

Add new condition function to the check.

DateTrainTestLeakageOverlap.add_condition_leakage_ratio_not_greater_than([...])

Add condition - require leakage ratio to not surpass max_ratio.

DateTrainTestLeakageOverlap.clean_conditions()

Remove all conditions from this check instance.

DateTrainTestLeakageOverlap.conditions_decision(result)

Run conditions on given result.

DateTrainTestLeakageOverlap.name()

Name of class in split camel case.

DateTrainTestLeakageOverlap.params([...])

Return parameters to show when printing the check.

DateTrainTestLeakageOverlap.remove_condition(index)

Remove given condition by index.

DateTrainTestLeakageOverlap.run(...[, model])

Run check.

DateTrainTestLeakageOverlap.run_logic(context)

Run check.

Example