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?