Bayesian neural network number of Epoch used

조회 수: 3 (최근 30일)
Camila Gill
Camila Gill 2020년 4월 21일
답변: Aditya Mittal 2020년 4월 24일
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.

답변 (1개)

Aditya Mittal
Aditya Mittal 2020년 4월 24일
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.

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by