jubair
jubair

Reputation: 597

Plotting ROC Curve with TPRate and FPRate in Matlab

I have two matrices with TPRate and FPRate. I want to plot an ROC Curve with that two matrices. I tried plotroc function of matlab but can't understand what its parameter. Is it like this?

plotroc(TPRate, FPRate)

If not how can I plot the ROC Curve with that two matrices?

Upvotes: 0

Views: 324

Answers (1)

Moreira
Moreira

Reputation: 586

Have you tried perfcurve ?

Check out the documentation - http://www.mathworks.com/help/stats/perfcurve.html - there are a couple of examples of the kind of ROC curve plots that you want (TPRate vs FPRate).

Upvotes: 0

Related Questions