ModelInfo#

class ModelInfo[source]#

Summarize given model parameters.

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

Methods

ModelInfo.add_condition(name, ...)

Add new condition function to the check.

ModelInfo.clean_conditions()

Remove all conditions from this check instance.

ModelInfo.conditions_decision(result)

Run conditions on given result.

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

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

ModelInfo.from_config(conf[, version_unmatch])

Return check object from a CheckConfig object.

ModelInfo.from_json(conf[, version_unmatch])

Deserialize check instance from JSON string.

ModelInfo.metadata([with_doc_link])

Return check metadata.

ModelInfo.name()

Name of class in split camel case.

ModelInfo.params([show_defaults])

Return parameters to show when printing the check.

ModelInfo.remove_condition(index)

Remove given condition by index.

ModelInfo.run(model[, feature_importance, ...])

Run check.

ModelInfo.run_logic(context)

Run check.

ModelInfo.to_json([indent, include_version, ...])

Serialize check instance to JSON string.

Examples#