roc_auc_score
Module: strata.metrics • Kind: function
Source: strata/metrics/classification.mojo
def roc_auc_score[ true_dtype: DType = DType.float64, score_dtype: DType = DType.float64,]( y_true: List[Scalar[true_dtype]], y_score: List[Scalar[score_dtype]], pos_label: Float64 = 1.0,) -> Float64from strata.metrics import roc_auc_scoreCompute Area Under the Receiver Operating Characteristic Curve (ROC AUC).
Returns: Float64 — Float64: The area under the ROC curve, between 0.0 and 1.0.