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.
0 个评论
回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!