I want a Multi-layer Perceptron neural network by neural network toolkit. but I cannot make 2 hidden layers (just 1 layer available). How can I make 2 hidden layers in neural network toolkit?
Neeta Dsouza answered .
2025-11-20
net = fitnet([H1,H2]);
Classification/Pattern-Recognition
net = patternnet([H1,H2]);
Time Series
net = narxnet( ID, FD, [ H1, H2]);