Saving data for ROC curve?

3 次查看(过去 30 天)
Diver
Diver 2017-2-27
编辑: Diver 2017-2-27
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 个)

类别

Help CenterFile Exchange 中查找有关 ROC - AUC 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by