TrainTestBaseCheck#

class TrainTestBaseCheck[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)#

Attributes

TrainTestBaseCheck.context_type

Methods

TrainTestBaseCheck.add_condition(name, ...)

Add new condition function to the check.

TrainTestBaseCheck.clean_conditions()

Remove all conditions from this check instance.

TrainTestBaseCheck.conditions_decision(result)

Run conditions on given result.

TrainTestBaseCheck.config([include_version, ...])

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

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

Return check object from a CheckConfig object.

TrainTestBaseCheck.from_json(conf[, ...])

Deserialize check instance from JSON string.

TrainTestBaseCheck.metadata([with_doc_link])

Return check metadata.

TrainTestBaseCheck.name()

Name of class in split camel case.

TrainTestBaseCheck.params([show_defaults])

Return parameters to show when printing the check.

TrainTestBaseCheck.remove_condition(index)

Remove given condition by index.

TrainTestBaseCheck.run(train_dataset, ...)

Run check.

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

Serialize check instance to JSON string.