Saving data for ROC curve?
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で ROC - AUC についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!