how to calculate the validation metrics ?
5 views (last 30 days)
Show older comments
Hi;
how i can compute and plot the attached figure for the validation metrics ????
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!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!