r - ROC curve for discrete predictions -


i have classifier predicts probability , class binary-class dataset. want compare predictor outputs binary class each case. obtained performance scores need show difference in roc curve. can plot roc curve continuous predictions (probabilities) using packages rocr , proc in r. second predictor outputs binary class, wandering around looking can use plot roc curve discrete predictions (binary). found script plotroc.py in python cant find anyting similar in r. can point me r package or other reliable package can use plot roc curve data?

thanks!

i rather binarize predictions of first predictor (using roc curve choose threshold) , compare them fisher's exact test or this. doesn't make sense build roc curve binary prediction.


Comments