error in newff neural network training function
2 views (last 30 days)
Show older comments
Dhandapani.S
on 8 Dec 2016
Answered: Walter Roberson
on 8 Dec 2016
Matalb version 7.10 R2010a
P = [0 1 2 3 4 5 6 7 8 9 10]; T = [0 1 2 3 4 3 2 1 2 3 4]; net = newff(P,T,5);
THe error obtained was as follows
??? Undefined function or method 'minmax' for input arguments of type 'double'.
Error in ==> network.subsasgn>setInputExampleInput at 909 range = minmax(p);
Error in ==> network.subsasgn at 96 [net,err] = setInputExampleInput(net,i,exampleInput);
Error in ==> newff>new_5p1 at 144 net.inputs{1}.exampleInput = p;
Error in ==> newff at 89 net = new_5p1(varargin{:});
0 Comments
Accepted Answer
Walter Roberson
on 8 Dec 2016
Odd, that routine has been part of the neural network toolbox for a long time. Try
restoredefaultpath
If that does not work then you probably need to reinstall the toolbox
0 Comments
More Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!