Function fitting neural network
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.