Saving data for ROC curve?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi;
I'm runnning some length calculation on different machines and on each machine I generate at the end a ROC curve.
I thought it better if I merge all these ROC curve together in one image (for easy comparison). But the the problem I'm doing the calculation for each ROC on different machine because it's CPU intensive.
Is it possible, for example, to save the data that generate the ROC curve on a file, and then I copy all these files in machine and generate one image with all those ROC curve?
here is my code:
[label,score,cost]= predict(svmStruct, my_features) ;
[X_output,Y_output,T_output,AUC] = perfcurve( Y ,score(:,2),1);
plot(X_output,Y_output);
xlabel('False positive rate');
ylabel('True positive rate');
my_title = strcat('ROC for Classification with AUC = ', num2str(AUC,2));
title(my_title);
print('myfile','-dpng')
Thanks
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur ROC - AUC dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!