I have read several articles about how to build a ROC curve but there is something I do not understand. Assuming I have a binary classifier, to draw a ROC curve I have to retrieve a list of scores (let's say long N) and for every entry of such a list the quantities trp and fpr. My question is: how do I get this list of scores? Do I train my model N different times using N different training sets and test it against the same testing set? Do I train the model once and I test it N times using N different testing sets?
Also, once I got the three vectors (scores, tprs and fprs), should I sort them such that the fpr vector is in ascending order?