- A training set with known ground truth values. This is used in the training process.
- A validation set with known ground truth values. This is used in the training process to decide when to quit training.
- A test set with unknown values.
could anyone help me how to validate the neural network
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am developing neural network model to train, validate and test the network.
For training I am using net = trainNetwork(XTrain,YTrain,layers)
For testing I am using YPred = predict(net,XTest).
Before testing I need to do validation with the trained network using validation XVal.
Could anyone please help me how to do validation for the trained network before testing.
3 comentarios
Image Analyst
el 27 de Jun. de 2021
You wrote your own trainNetwork() function? Well, you should know how to pass data to it then. Sorry I can't help you anymore with your custom function(s) - I prefer to use Toolbox functions rather than write my own.
Respuestas (1)
KSSV
el 27 de Jun. de 2021
Read the documentation of TrainNetwork, you can pass the validation data to the function.
0 comentarios
Ver también
Categorías
Más información sobre Get Started with Statistics and Machine Learning Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!