TrainTestCheck#

class TrainTestCheck[source]#

Parent class for checks that compare two datasets.

The class checks train dataset and test dataset for model training and test.

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

Methods

TrainTestCheck.add_condition(name, ...)

Add new condition function to the check.

TrainTestCheck.clean_conditions()

Remove all conditions from this check instance.

TrainTestCheck.conditions_decision(result)

Run conditions on given result.

TrainTestCheck.finalize_check_result(...)

Finalize the check result by adding the check instance and processing the conditions.

TrainTestCheck.metadata([with_doc_link])

Return check metadata.

TrainTestCheck.name()

Name of class in split camel case.

TrainTestCheck.params([show_defaults])

Return parameters to show when printing the check.

TrainTestCheck.remove_condition(index)

Remove given condition by index.

TrainTestCheck.run(train_dataset, test_dataset)

Run check.

TrainTestCheck.run_logic(context)

Run check.