필터 지우기
필터 지우기

NARX Time series prediction

조회 수: 1 (최근 30일)
ADC
ADC 2018년 10월 17일
댓글: Greg Heath 2018년 10월 21일
Hi I wish evalueta a Neural network output afther treined (NARX) but I stil can't; Afther trained and salve the net with 2 input and 1 output, I try to type on Command Window the following: "net(A)" where A is a test matrix 1X2 but the answer is: Number of input does not match net.inputs. I tryed whit net(A,0,0) but still the same problem
  댓글 수: 1
Greg Heath
Greg Heath 2018년 10월 17일
Thank you for all of the details we needed to help you.
Greg

댓글을 달려면 로그인하십시오.

답변 (1개)

Greg Heath
Greg Heath 2018년 10월 18일
Don't take Greg too seriously. Sometimes he doesn't take enough time when reading posts. Since
size(A) = [ 1 2 ]
A has to be transposed to be a valid input.
Thank you for formally accepting my answer
Greg
  댓글 수: 2
ADC
ADC 2018년 10월 20일
Hi Greg thanks for your answer but I've alredy tried with the matrix trasposed, and it still does'nt work; Now I noticed that if I train the net with 1000X2 matrix input and the output (target) is 1000x1, I notice that I get no error when I give to the net a new input A=[1x3] , so I mean that if I give to the net the input plus the output the net give me an answer; now I've to work on the ans I got... It does'nt look anything like the target; (I've obtained a costant value, not what I was looking for, even if i change the n of layer ...) where I m wrong??
Greg Heath
Greg Heath 2018년 10월 21일
The input and target sizes are [I N ] = [2 1000] and [O N ] = [1 1000].
It is confusing (aka annoying) when you use the transposes.
More importantly, it could be the source of your trouble.

댓글을 달려면 로그인하십시오.

카테고리

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