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.finalize_check_result(...)

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

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[, device, random_state])

Run check.