Neural network of a single layer

6 views (last 30 days)
How do I form a neural network with a single layer, so that it wont contain any hidden layer.

Accepted Answer

Monsij Biswal
Monsij Biswal on 17 Jun 2019
net = feedforwardnet;
net.numLayers = x
x is the required number of layers. Here 1.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!