Error in running narx, feedforward netowrk

1 view (last 30 days)
Sanket Naik
Sanket Naik on 12 Jun 2023
Answered: Ranjeet on 27 Jun 2023
Narx network, Feedforward network throwing the below error.
Not enough input arguments.
Error in mse (line 2)
mseValue = mean((ytrue-ypred).^2,"omitnan");
Error in network>new_network (line 142)
net.performParam = mse('defaultParam');
Error in network (line 71)
net = new_network(varargin{:});
Error in feedforwardnet>create_network (line 105)
net = network;
Error in feedforwardnet (line 73)
net = create_network(param);
  2 Comments
Saurabh
Saurabh on 12 Jun 2023
Can You share more deatails and errors screenshot along with the code you are working on.
Sanket Naik
Sanket Naik on 12 Jun 2023
It looks like it's due to specific version. Even same error occurs even when i run internal examples(TrainNARXNetworkAndPredictOnNewDataExample).

Sign in to comment.

Answers (1)

Ranjeet
Ranjeet on 27 Jun 2023
Hi Sanket,
The error you are facing is same as the one in the following link -
Have a look at the suggestions by in the question.

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!