how to calculate the validation metrics ?
Show older comments
Hi;
how i can compute and plot the attached figure for the validation metrics ????
1 Comment
ahmad Saad
on 22 Oct 2023
Answers (1)
Manish
on 27 Dec 2024
Hi Ahmad,
I understand that you want to know how to compute the validation metrics and plot them. You can achieve this with the help of the `trainingOptions` function.
This function has an input called `Metrics` where predefined metrics can be used. You can also create your own custom metrics for the model.
Here's a code snippet to access the metrics using the `info`.
[netTrained,info] = trainnet(___);
show(info);
Refer the below documentions for better undertanding:
- https://www.mathworks.com/help/deeplearning/ref/deep.traininginfo.html
- https://www.mathworks.com/help/deeplearning/ug/define-custom-metric-function.html
- https://www.mathworks.com/help/deeplearning/ref/trainnet.html
Hope it helps!
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!