Fit an equation with trained neural network
2 views (last 30 days)
Show older comments
Hello,
How can I fit a trained neural network into an equation? Because modeling is worthless without an output equation.
Or what command should be used for a saved neural network with 4 variables (in command window)? I use "net(40,200,2,120)" but it makes a mistake.
0 Comments
Accepted Answer
Greg Heath
on 2 Jun 2018
Edited: Greg Heath
on 2 Jun 2018
The single hidden layer feedforward net is a
UNIVERSAL APPROXIMATOR!
In the default mode it's equation is
y = B2 + LW*tanh(B1+IW*x)
help fitnet
doc fitnet
Hope this helps
Thank you for formally accepting my answer
Greg
0 Comments
More Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!