How to see cross validation in trainNetwork?

20 次查看(过去 30 天)
where can i see the cross validation while training the Neural network?
I am talking about training Deep neural network using function 'trainNetwork'

回答(1 个)

Anmol Dhiman
Anmol Dhiman 2020-7-26
编辑:Anmol Dhiman 2020-7-26
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