How to use train, validation and test?

Hello
I built a NN and i am trying to understand how can I use both validation and test while training the NN.
Till now I only suceeded using only one of them and not both.
Thanks,

Answers (1)

yanqi liu
yanqi liu on 16 Mar 2022
yes,sir
training data is used to train the model
the validation data is used to observe the performance of the model during training
the test data is used to evaluate the model after the training

1 Comment

What is the code that I need to write to use both validation and test in my model?

Sign in to comment.

Categories

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

Asked:

on 15 Mar 2022

Commented:

on 16 Mar 2022

Community Treasure Hunt

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

Start Hunting!