roc and auc plotting in cnn

14 views (last 30 days)
Methil Muley
Methil Muley on 5 Oct 2020
Answered: Vidip on 8 Apr 2024 at 9:41
How To Plot ROC and AUC while dealing with CNN ? please give me sample code

Answers (1)

Vidip
Vidip on 8 Apr 2024 at 9:41
To plot the Receiver Operating Characteristic (ROC) curve and compute the Area Under the Curve (AUC) for a Convolutional Neural Network (CNN) model in MATLAB, you typically need the predicted scores (probabilities) from your model and the true labels of your test data.
In MATLAB you can use ‘plotroc’ function to plot the receiver operating characteristic for each output class and to get the area under the ROC curve while you train a deep neural network, you can use ‘aucMetric’ function. For more information regarding these functions, you can refer to the below documentation links-

Categories

Find more on ROC - AUC in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!