Bayesian neural network number of Epoch used

1 回表示 (過去 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 Center および File ExchangeSequence 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