Hidden layer and hidden neuron

I have 106587 data (11843rows *9 columns). I need to predict one parameter (output) using 8 other parameters (inputs).
1) How many hidden layers should I use (2 or 3) ?
2) How many hidden neurons should I assign for each hidden layer?
I tried 2 hidden layers with random (1-20) hidden neurons each layer but huge amount of MSE obtained for training, validation and testing. Please explain why this happens?

回答 (1 件)

Burhan Burak AKMAN
Burhan Burak AKMAN 2021 年 12 月 27 日

0 投票

Increase amount of hidden neurons to 100-200 and re-train. May be it will help.

1 件のコメント

Pavithra Chinatamby
Pavithra Chinatamby 2021 年 12 月 30 日
I tried this method, but it took more than two hours per run and the MSE is almost the same when I use 1-20 hidden neurons.

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

カテゴリ

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

製品

リリース

R2020b

質問済み:

2021 年 12 月 27 日

コメント済み:

2021 年 12 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by