Saving data for ROC curve?

1 回表示 (過去 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 Center および File ExchangeROC - AUC についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by