ConfusionMatrixReport.run_logic

ConfusionMatrixReport.run_logic(context: CheckRunContext, dataset_type: str = 'train') CheckResult[source]

Run check.

Returns
CheckResult

value is numpy array of the confusion matrix, displays the confusion matrix

Raises
DeepchecksValueError

If the data is not a Dataset instance with a label