ConfusionMatrixReport.add_condition_misclassified_samples_lower_than_condition#

ConfusionMatrixReport.add_condition_misclassified_samples_lower_than_condition(misclassified_samples_threshold: float = 0.2)[source]#

Add condition - Misclassified samples lower than threshold.

Condition validates if the misclassified cell size/samples are lower than the threshold based on the misclassified_samples_threshold parameter.

Parameters
misclassified_samples_threshold: float, default: 0.20

Ratio of samples to be used for comparison in the condition (Value should be between 0 - 1 inclusive)