How to plot validation and loss in the same curve?

In deep learning, we usually get two curves, one shows the validation and accuracy, and the other one shows losses. I found a research where they meged the two curves in one plot as provided in the image. I wonder is it possible to do so?

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 10 Nov 2022

Answered:

on 10 Nov 2022

Community Treasure Hunt

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

Start Hunting!