Error when using AUC package in R

Viewed 2719

We use the AUC package in R to evaluate the model prediction.

Sometimes, we faced the error like below:

    > plot(roc(pred, yTEST))
    > auc(roc(pred, yTEST)) 
    Error in rank(prob) : argument "prob" is missing, with no default

Could anyone let us know where the error comes from ? Note that: the problem did not occur frequently. For example: we ran 10 models and it happened to 3-4 models.

1 Answers
Related