plotROC
plotROC(
yTrue,yProb,options?):any
Defined in: ds/src/plot/classification.js:15
Generate ROC curve plot configuration
Parameters
yTrue
number[]
True binary labels (0 or 1)
yProb
number[]
Predicted probabilities for positive class
options?
any = {}
{width, height, showDiagonal}
Returns
any
Plot configuration with ROC curve data and AUC