[SOLVED] Plotting ROC curves from separate, saved performance vectors

x2xx7xx2xx7x Member Posts: 6 Contributor II
edited October 2019 in Help
Hello everyone,

I have trained several classification models using 5-fold X-Validation, some of which required quite some time to finish and I have saved all of the models and their respective performance vectors. I was wondering if there is any way to merge these performance vectors so that I can plot the ROC curves from each performance vector on the same plot for comparison. I am aware of the Compare ROC function however I do not want to re-train the models on the data.

Will placing the saved models in the Compare ROC function provide the correct output?
I was able to get an output by connecting a data set to the compare ROC and placing the saved models in the Compare ROC, with the model out connected directly to the compare ROC model outs. I am not sure if this is providing the result I am looking for

Thank you,

-Alex

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Hi Alex,

    using the stored models in Compare ROCs will deliver correct results, however usually the operator internally performs a cross validation to produce confidence intervals etc. on the ROC curves. This will of course not work if you use the precalculated models. If you can do without this info you approach is fine.

    Best regards,
    Marius
  • x2xx7xx2xx7x Member Posts: 6 Contributor II
    Is there any other way to do this? Maybe somehow to use the already calculated performance vectors with ROC curves and combine the, on one graph. 

    If not, thank you.
  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    No, unfortunately that's not possible.

    Best regards,
    Marius
Sign In or Register to comment.