How to merge/combine training accuracy and loss in same graph?

3 ビュー (過去 30 日間)
Shawn Chen
Shawn Chen 2020 年 6 月 26 日
編集済み: Kanupriya Singh 2020 年 6 月 26 日
Hi,
I would like to merge both training accuracy and loss in same plot, is there any method to do so. Below are the image of my training accuracy and loss.
I want to change into a plot like this, but dont know how to tweak it with training options.

回答 (1 件)

Kanupriya Singh
Kanupriya Singh 2020 年 6 月 26 日
編集済み: Kanupriya Singh 2020 年 6 月 26 日
I understand that you would like to have both the training accuracy and loss graphs in the same plot. To achieve this, use the 'hold on' and 'hold off' commands.
Follow the code for plotting the first graph by 'hold on'. Then after writing the code for plotting the second graph, use 'hold off'. This would ensure that both your graphs lie on the same plot.

カテゴリ

Help Center および File ExchangeRecognition, Object Detection, and Semantic Segmentation についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by