How to see cross validation in trainNetwork?

20 visualizzazioni (ultimi 30 giorni)
krishna Chauhan
krishna Chauhan il 19 Lug 2020
Modificato: Anmol Dhiman il 26 Lug 2020
where can i see the cross validation while training the Neural network?
I am talking about training Deep neural network using function 'trainNetwork'

Risposte (1)

Anmol Dhiman
Anmol Dhiman il 26 Lug 2020
Modificato: Anmol Dhiman il 26 Lug 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!

Translated by