フィルターのクリア

MISO System. LSTM

8 ビュー (過去 30 日間)
Jesus Mª Juarez Ferreras
Jesus Mª Juarez Ferreras 2024 年 4 月 3 日
Hello. I have a MIMO (multiple input-single output) system. Each of the two inputs has 100 random values. The only output has 100 values.
I put the entries as an array of cells:
sim_in = {v , p}';
and I pick up the output:
sim_out = {h1.Data}';
When training the network I get the error "Invalid training data. Predictors and responses must have the same number of observations." What would be the solution? Thank you.

採用された回答

Aman
Aman 2024 年 4 月 16 日
Hi Jesus,
This error occurs due to a dimension mismatch between the targets and the network output.
Since you are using a MISO neural net, it is better to concatenate the inputs along the appropriate dimension and reshape your output data, as we give a single input and single output to the "trainNetwork" function.
You can refer to the thread below, which discusses the same issue.
Hoping it will help you move ahead with your workflow.
  1 件のコメント
Jesus Mª Juarez Ferreras
Jesus Mª Juarez Ferreras 2024 年 4 月 16 日
Thank you.

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

その他の回答 (1 件)

Jesus Mª Juarez Ferreras
Jesus Mª Juarez Ferreras 2024 年 5 月 8 日
編集済み: Jesus Mª Juarez Ferreras 2024 年 5 月 8 日
Hello again. Once the previous problem is solved, now I put:
sim_out = {h1.Data h1.Data}';
I want to train the MISO system that I leave in the file. I want to get the RMSE close to zero but it doesn't train well.
Does LSTM not train MISO systems?
Thanks you.

カテゴリ

Help Center および File ExchangeLink-Level Simulation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by