Deep network designer - pretrained network
31 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Raynier Suresh
on 30 Nov 2020
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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!