Saving data for ROC curve?

2 vues (au cours des 30 derniers jours)
Diver
Diver le 27 Fév 2017
Modifié(e) : Diver le 27 Fév 2017
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

Réponses (0)

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!

Translated by