MATLAB Answers

How to see cross validation in trainNetwork?

12 views (last 30 days)
krishna Chauhan
krishna Chauhan on 19 Jul 2020
Edited: Anmol Dhiman on 26 Jul 2020
where can i see the cross validation while training the Neural network?
I am talking about training Deep neural network using function 'trainNetwork'

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!