Pixel level Precision

class easypl.metrics.segmentation.pixel_level.PixelLevelPrecision(average: str = 'macro', num_classes: int = 0, threshold: float = 0.5, epsilon: float = 1e-08)

Pixel-level precision segmentation metric.

average

Method of averaging.

Type:

str

num_classes

Number of classes.

Type:

int

threshold

Threshold for probabilities of pixels.

Type:

float

epsilon

Epsilon for correct evalating metric.

Type:

float