Borrar filtros
Borrar filtros

How to use trained net with 3 inputs and 1 target

1 visualización (últimos 30 días)
Emirhan Solmaz
Emirhan Solmaz el 6 de En. de 2021
Respondida: Emirhan Solmaz el 24 de En. de 2021
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.

Respuesta aceptada

Emirhan Solmaz
Emirhan Solmaz el 24 de En. de 2021
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.

Más respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by