ROC curve drawing

Dear all,

I would to like to known how i do the roc curve after the vector classification.
I did the Large scale mean shift and i train my samples with random forest classifier. Both with Orfeo/Monteverdi GUI.

Please help me,

Thank you,

André Duarte

Hello,

as far as I know they are no tools that computes ROC curve in OTB, but the training applcations (TrainImagesClassifier and TrainVectorClassifer) output confusion matrices computed using the validation sample (or the training sample if there is no validation sample available). It is also possible to compute a confusion matrix from raster classification and ground truth with the ComputeConfusionMatrix application.

You can then deduce the ROC curve at different thresholds. But which threshold do you want to use with the random forest classifier ?

Cédric