Deep network designer - pretrained network

31 views (last 30 days)
Arivan Ramachandran
Arivan Ramachandran on 26 Nov 2020
Answered: Raynier Suresh on 30 Nov 2020
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.

Answers (1)

Raynier Suresh
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

Tags

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!