Deep network designer - pretrained network

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.

Respuestas (1)

Raynier Suresh
Raynier Suresh el 30 de Nov. de 2020

1 voto

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

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Etiquetas

Preguntada:

el 26 de Nov. de 2020

Respondida:

el 30 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by