フィルターのクリア

How to use trained net with 3 inputs and 1 target

1 回表示 (過去 30 日間)
Emirhan Solmaz
Emirhan Solmaz 2021 年 1 月 6 日
回答済み: Emirhan Solmaz 2021 年 1 月 24 日
Hi. i trained a time series neural network with 3 input column (3x500) and 1 target column (1x500) datas and with 10 neurons and 2 delay. Then saved it as "net"file. Now i want to use it with another set of example data (3x200) to get output data (1x200) ,thus, i can compare it with the actual data (1x200).
I used "sim(net,ExData)" command but i got "Number of inputs does not match net.numInputs." error.
Then i searched in forum and tried various things including transpose of ExData. I couldnt find a solution via looking to the help section of Matlab for different commands as well. So can you help me on this please.

採用された回答

Emirhan Solmaz
Emirhan Solmaz 2021 年 1 月 24 日
a couple of days later, i found the solution which is very very easy. just delete the first rows as much as the delays you give. for me it was 2 rows since the delay was 2. btw, dont forget transpose.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by