- How do you expect us to help when you do not show us your code ???
- Just the fact that the error involves "predict" and you show no such code is more than enough for a bald man to scratch his head.
- Please see the HELP and DOC files before posting a question.
How to use predict(net,X) with Sequence data or data which have single dimensional input?
1 次查看(过去 30 天)
显示 更早的评论
I have trained the model on input having
size(input) = [1 78852] double
and output of
size(Output) = [1 78852].
The model is trained using command
net = layrecnet(1:2,[20 20],'trainlm');.
I want to use the predict(net, X) but it is giving me error
Error using predict (line 84)
No valid system or dataset was specified.
As my input is single dimentional vector. How to use this predict function in my prgoram?
0 个评论
回答(1 个)
Greg Heath
2019-1-11
Greg
3 个评论
Greg Heath
2019-1-23
You are not using the MATLAB VERSION of the definition validation.
See the Matlab definitions of train, val and test.
Greg
另请参阅
类别
在 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!