chemicalchecker.tool.targetmate.nonconformist.evaluation.class_mean_errors_one_class

class_mean_errors_one_class(prediction, y, significance, c=0)[source]

Calculates the average error rate of a conformal classification model, considering only test examples belonging to class c. Use functools.partial in order to test other classes.