how to create a neural network with 1 layer only (no hidden layers)?
8 views (last 30 days)
Show older comments
I want to create a neural network with 1 layer only (no hidden layers) in matlab
0 Comments
Accepted Answer
Greg Heath
on 6 Nov 2014
net = fitnet([]); % For regression
net = patternnet([]); % For classification
Hope this helps.
Thank you for formally accepting my answer
Greg
0 Comments
More Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!