How is test set used in trainbr algorithm?

I am using trainbr as the training algorithm for my neural network. What I am trying to determine is if the test set is being used in the network optimization process, or is it being left alone until the end? For instance, the code is simply:
net = newff(inputs,targets,n);
net = init(net);
[net tr] = trainbr(net,inputs,targets);
Is the test set being used during each iteration in some validation sense, or is separate until the end. I ask because I have used this technique and also trained only the first 75% of my data using the net.divideFcn = ''. When I do this and then run the test set with the network, I get a different response. I just wanted to make sure that the general trainbr function does not use the test set during the development of the network (i.e. weights, etc.).
Thank you very much for your help.

 採用された回答

Greg Heath
Greg Heath 2013 年 3 月 1 日

0 投票

The test set is never used to influence the design.
Thank you for formally accepting my answer
Greg

1 件のコメント

Nirvana Delgado
Nirvana Delgado 2020 年 5 月 8 日
編集済み: Nirvana Delgado 2020 年 5 月 8 日
Dear Greg,
thank you for your answer. Would you mind elaborating on that?
What is the test set used for when using trainbr?
Thank you in advance!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeNetworks についてさらに検索

質問済み:

2013 年 2 月 27 日

編集済み:

2020 年 5 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by