How to see cross validation in trainNetwork?

14 views (last 30 days)
where can i see the cross validation while training the Neural network?
I am talking about training Deep neural network using function 'trainNetwork'

Answers (1)

Anmol Dhiman
Anmol Dhiman on 26 Jul 2020
Edited: Anmol Dhiman on 26 Jul 2020
Hi Krishna,
Cross Validation generates indices for training and testing data. The indices genereted for training can be used to train the network (trainNetwork). Validation of the network can be done from indices generated for testing.
So to do cross validation for a network. first create testing and training data using Cross Validation , train your model using trainNetwork and then test it.
Refer this link for similar question.
Regards,
Anmol Dhiman

Community Treasure Hunt

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

Start Hunting!