How to see cross validation in trainNetwork?

17 vues (au cours des 30 derniers jours)
krishna Chauhan
krishna Chauhan le 19 Juil 2020
Modifié(e) : Anmol Dhiman le 26 Juil 2020
where can i see the cross validation while training the Neural network?
I am talking about training Deep neural network using function 'trainNetwork'

Réponses (1)

Anmol Dhiman
Anmol Dhiman le 26 Juil 2020
Modifié(e) : Anmol Dhiman le 26 Juil 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.
Anmol Dhiman


En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by