Main Content

Function Approximation and Nonlinear Regression

Create a neural network to generalize nonlinear relationships between example inputs and outputs

Apps

Neural Net FittingSolve fitting problem using two-layer feed-forward networks

Functions

nftoolOpen Neural Net Fitting app
viewView shallow neural network
fitnetFunction fitting neural network
feedforwardnetGenerate feedforward neural network
cascadeforwardnetGenerate cascade-forward neural network
trainTrain shallow neural network
trainlmLevenberg-Marquardt backpropagation
trainbrBayesian regularization backpropagation
trainscgScaled conjugate gradient backpropagation
trainrpResilient backpropagation
mseMean squared normalized error performance function
regression(Not recommended) Perform linear regression of shallow network outputs on targets
ploterrhistPlot error histogram
plotfitPlot function fit
plotperformPlot network performance
plotregressionPlot linear regression
plottrainstatePlot training state values
genFunctionGenerate MATLAB function for simulating shallow neural network

Examples and How To

Basic Design

Training Scalability and Efficiency

Optimal Solutions

Concepts