Correlation values shown by 'nntraintool -> regression plots' differs when calculated manually for 'dividerand' function

Hello all, I ran my ANN model to train 60 training sets out which 42 were used for training, 9 used for validation and 9 were used for testing. This values were shown in 'nntraintool - > regression plots'. I tried to calculate them manually also and they were matching for divideblock function.
But same thing if I do for dividerand function with same ratio as used above then I am not getting the values of correlation which were displayed in 'nntraintool - > regression plots'.
Please help me regarding how to use dividerand in NN and use appropriate values for model evaluation.
Regards,

 採用された回答

Sean de Wolski
Sean de Wolski 2013 年 11 月 19 日
編集済み: Sean de Wolski 2013 年 11 月 19 日
dividerand uses random indices.
From the doc
Divide targets into three sets using random indices
So of course the values will be a little different.

2 件のコメント

Kalpesh Patil
Kalpesh Patil 2013 年 11 月 19 日
But I am saving the indices used for every epoch so my correlation values with that indices should match.
Kalpesh Patil
Kalpesh Patil 2013 年 11 月 20 日
Thanks Sean, Its giving same value now, I retrieved the indices after training from object 'tr'.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by