Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Function fitting neural network

`net = fitnet(hiddenSizes)`

`net = fitnet(hiddenSizes,trainFcn)`

returns
a function fitting neural network with a hidden layer size of `net`

= fitnet(`hiddenSizes`

)`hiddenSizes`

.

returns
a function fitting neural network with a hidden layer size of `net`

= fitnet(`hiddenSizes`

,`trainFcn`

)`hiddenSizes`

and
training function, specified by `trainFcn`

.

Function fitting is the process of training a neural network on a set of inputs in order to produce an associated set of target outputs. After you construct the network with the desired hidden layers and the training algorithm, you must train it using a set of training data. Once the neural network has fit the data, it forms a generalization of the input-output relationship. You can then use the trained network to generate outputs for inputs it was not trained on.

Was this topic helpful?