Hi everybody.
I am facing a strange problem with Matlab and, in particular, with the training of a feed-forward neural network.
In practice, I set the network, which is formed by an input layer, a hidden layer and an output layer. But, when I call the train function, the connection between the hidden layer and the output layer is removed and I do not understand why. I hope someone can help me.
The following is the simple code I use:
if trueload fisheririsfeedforwardNetwork = feedforwardnet(10);feedforwardNetwork.divideFcn = 'dividetrain';feedforwardNetwork.trainFcn = 'traingd';feedforwardNetwork.trainParam.epochs = 10;feedforwardNetwork = train(feedforwardNetwork, meas');end
Gianni.
Best Answer