NARX Time series prediction
1 次查看(过去 30 天)
显示 更早的评论
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
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 个评论
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 Center 和 File 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!