CalibrationScore#

class CalibrationScore[source]#

Calculate the calibration curve with brier score for each class.

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

Methods

CalibrationScore.add_condition(name, ...)

Add new condition function to the check.

CalibrationScore.clean_conditions()

Remove all conditions from this check instance.

CalibrationScore.conditions_decision(result)

Run conditions on given result.

CalibrationScore.config()

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

CalibrationScore.from_config(conf)

Return check object from a CheckConfig object.

CalibrationScore.metadata([with_doc_link])

Return check metadata.

CalibrationScore.name()

Name of class in split camel case.

CalibrationScore.params([show_defaults])

Return parameters to show when printing the check.

CalibrationScore.remove_condition(index)

Remove given condition by index.

CalibrationScore.run(dataset[, model, ...])

Run check.

CalibrationScore.run_logic(context, dataset_kind)

Run check.

Examples#