ConfusionMatrixReport

class ConfusionMatrixReport[source]

Calculate the confusion matrix of the model on the given dataset.

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

Methods

ConfusionMatrixReport.add_condition(name, ...)

Add new condition function to the check.

ConfusionMatrixReport.clean_conditions()

Remove all conditions from this check instance.

ConfusionMatrixReport.conditions_decision(result)

Run conditions on given result.

ConfusionMatrixReport.name()

Name of class in split camel case.

ConfusionMatrixReport.params([show_defaults])

Return parameters to show when printing the check.

ConfusionMatrixReport.remove_condition(index)

Remove given condition by index.

ConfusionMatrixReport.run(dataset[, model])

Run check.

ConfusionMatrixReport.run_logic(context[, ...])

Run check.

Example