unique_labels
Module: strata.metrics • Kind: function
Source: strata/metrics/classification.mojo
def unique_labels[ true_dtype: DType = DType.float64, pred_dtype: DType = DType.float64,]( y_true: List[Scalar[true_dtype]], y_pred: List[Scalar[pred_dtype]],) -> List[Float64]from strata.metrics import unique_labelsSorted list of the distinct labels appearing in y_true or y_pred.