Specificity Metric

class image_segmentation.metrics.specificity.SparseCategoricalSpecificity(*args: Any, **kwargs: Any)[source]
update_state(y_true, y_pred, sample_weight=None)[source]
class image_segmentation.metrics.specificity.Specificity(*args: Any, **kwargs: Any)[source]
compute(y_true, y_pred)[source]
get_config()[source]
result()[source]
static specificity(y_true, y_pred, target_class=None)[source]
update_state(y_true, y_pred, sample_weight=None)[source]