TrainTestCheck#

class TrainTestCheck[source]#

Parent class for checks that compare two datasets.

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

__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.config([include_version, ...])

Return check configuration (conditions' configuration not yet supported).

TrainTestCheck.from_config(conf[, ...])

Return check object from a CheckConfig object.

TrainTestCheck.from_json(conf[, version_unmatch])

Deserialize check instance from JSON string.

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.

TrainTestCheck.to_json([indent, ...])

Serialize check instance to JSON string.