compute_mauc_ord: Internal function: Compute mAUC for ordinal predictions

compute_mauc_ordR Documentation

Internal function: Compute mAUC for ordinal predictions

Description

Internal function: Compute mAUC for ordinal predictions

Usage

compute_mauc_ord(y, fx)

Arguments

y

An ordered factor representing the ordinal outcome, with length n and J categories.

fx

Either (i) a numeric vector of predictor (e.g., predicted scores) of length n or (ii) a numeric matrix of predicted cumulative probabilities with n rows and (J-1) columns.

Value

The mean AUC of J-1 cumulative AUCs (i.e., when evaluating the prediction of Y<=j, j=1,...,J-1).


nliulab/AutoScore documentation built on Oct. 18, 2024, 4:53 p.m.