How to merge/combine training accuracy and loss in same graph?
조회 수: 3 (최근 30일)
이전 댓글 표시
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/322294/image.jpeg)
I want to change into a plot like this, but dont know how to tweak it with training options.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/322297/image.jpeg)
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Recognition, Object Detection, and Semantic Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!