Bayesian neural network number of Epoch used
4 views (last 30 days)
Show older comments
I am using a Bayesian neural network. How do I determine how many epoch numbers are used during each iteration of the nueral network?
I know the default is 1000, but i need to know when less than 1000 epochs are used.
I need the solution in matrix form so that I can use the data for later calculations.
0 Comments
Answers (1)
Aditya Mittal
on 24 Apr 2020
Hi,
I think there is some confusion regarding number of epochs and number of iterations.
I want you to go trough the below link once,
Assuming that you want to know the number of epochs which were used to train your model and performance is minimised to the gaol.
This can be easily acchived by the following code,
[net , tr] = train(net, X, T);
numOfEpochs = tr.num_epochs;
This will return you the number of epochs that were used to train the model.
0 Comments
See Also
Categories
Find more on Pattern Recognition and Classification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!