My svmlight output for binary classification (+1 for true and -1 for false classes) is like

+1 0.001

-1 -0.34

+1 0.9

+1 055

-1 -0.2

I tried generating roc in R using ROCR package. But I found in all examples of ROCR TPR ,FPR and cutoff values were used. TPR and FPR can be calculated from the above data but will get only one value and also w.r to cutoff I am confused. In this case cutoff is -1 to +1 right?

Can anyone help me how to give the values from the above data for drawing ROC in ROCR package.

More Hemalatha Nambisan's questions See All
Similar questions and discussions