Deep network designer - pretrained network

10 次查看(过去 30 天)
I have been working on a image classification problem, I trained resnet50 and GoogleNet using the input data. Can anyone help me on how to derive the results (F1, recall, accuracy and ROC). I would be really grateful.

回答(1 个)

Raynier Suresh
Raynier Suresh 2020-11-30
For Accuracy:
accuracy = mean(YPred == YValidation)
Refer the below link for more information
For Roc:
refer the below links
For Precision, Recall and F1 Score:
From the confusion matrix you can calculate precision and recall. Using Precision and Recall you can calculate the F1 score.
Refer the below links for confusion matrix

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by