AUCPRHingeLoss.Config

Component: AUCPRHingeLoss

class AUCPRHingeLoss.Config[source]

Bases: ConfigBase

precision_range_lower

float – the lower range of precision values over which to compute AUC. Must be nonnegative, leq precision_range_upper, and leq 1.0.

precision_range_upper

float – the upper range of precision values over which to compute AUC. Must be nonnegative, geq precision_range_lower, and leq 1.0.

num_classes

int – number of classes(aka labels)

num_anchors

int – The number of grid points used to approximate the Riemann sum.

All Attributes (including base classes)

precision_range_lower: float = 0.0
precision_range_upper: float = 1.0
num_classes: int = 1
num_anchors: int = 20

Default JSON

{
    "precision_range_lower": 0.0,
    "precision_range_upper": 1.0,
    "num_classes": 1,
    "num_anchors": 20
}