I am doing some ROC analysis in Matlab. The function perfcurve is excellent. However, it assumes that larger values of the score indicate stronger evidence for a positive state. This is often exactly what you want if you are analysing the output of a classifier model.

In my case, I want to use raw data where smaller values indicate stronger evidence for a positive state. Reading through the documentation, I could not find a way to change the test direction for the perfcurve function.

Does anyone know if it is possible to do this? Or other similar functions that allow doing this?

Similar questions and discussions