risk.validation.accuracyRatio
Syntax
Description
returns the accuracy ratio, where arValue
= risk.validation.accuracyRatio(Score
,BinaryResponse
)Score
contains numeric values that
represent quantities such as rankings or predictions, probability of default (PD), or loss
given default (LGD) estimates. For example, in credit scoring models, the values in
Score
can represent individual credit scores or other credit data.
BinaryResponse
specifies the target state of each value in
Score
.
specifies the sorting direction of the unique values in arValue
= risk.validation.accuracyRatio(Score
,BinaryResponse
,SortDirection=sortdir
)Score
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2025a