I am using nltk with Python and I would like to plot the ROC curve of my classifier (Naive Bayes). Is there any function for plotting it or should I have to track the True Positive rate and False Positive rate ?
It would be great if someone would point me to some code already doing it…
Thanks.
PyROC looks simple enough: tutorial, source code
This is how it would work with the NLTK naive bayes classifier:
Edits:
.prob(1)