ModelOnlyCheck#

class ModelOnlyCheck[source]#

Parent class for checks that only use a model and no datasets.

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

Methods

ModelOnlyCheck.add_condition(name, ...)

Add new condition function to the check.

ModelOnlyCheck.clean_conditions()

Remove all conditions from this check instance.

ModelOnlyCheck.compute(context)

Compute final check result.

ModelOnlyCheck.conditions_decision(result)

Run conditions on given result.

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

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

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

Return check object from a CheckConfig object.

ModelOnlyCheck.from_json(conf[, version_unmatch])

Deserialize check instance from JSON string.

ModelOnlyCheck.initialize_run(context)

Initialize run before starting updating on batches.

ModelOnlyCheck.metadata([with_doc_link])

Return check metadata.

ModelOnlyCheck.name()

Name of class in split camel case.

ModelOnlyCheck.params([show_defaults])

Return parameters to show when printing the check.

ModelOnlyCheck.remove_condition(index)

Remove given condition by index.

ModelOnlyCheck.run(model[, random_state, ...])

Run check.

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

Serialize check instance to JSON string.