divide function in trainbr train function

hello I have made a feedforward neural network. when I set the net.trainFcn to trainbr, and the divide function to divideblock or dividerand with train/val/test ratio of 70/0/30 after training the network, the devideFcn in the training result is set to dividetrain and all of the input data is used for training, and tr.testInd is empty what am I doing wrong? thanks in advance.

 採用された回答

Greg Heath
Greg Heath 2015 年 1 月 6 日

0 投票

The TRAINBR code covering indexing and ratios is BUGGY. I couldn't figure it out when I looked at it back in June 2013.
Now that I'm older, I might have better luck.
1. Complain to MATLAB, directly, with specific, repeatable, examples on MATLAB data
help nndata
doc nndata
2. Experiment some more to see if you can impose something other than the 80/0/20 default.
3. Another possibility is to use TRAIN with msereg
Hope this helps.
Thank you for formally accepting my answer
Greg
P.S. Please report any findings

1 件のコメント

erte
erte 2015 年 1 月 6 日
I tried to make custom divide function to divide data manually before training. but thank you so much.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

質問済み:

2015 年 1 月 5 日

コメント済み:

2015 年 1 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by