필터 지우기
필터 지우기

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 CenterFile Exchange에서 Sequence 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