Clear Filters
Clear Filters

how do I get a neural network without hiddenlayer

1 view (last 30 days)
hello,
I try to initialize a neural network without a hiddenlayer to estimate the distance from a wall with to circles on it. the neural network should be as simple as possible ( I don´t need to consider of a rotation or angle deviation). The inputneurons are the pixels of the images which i transform in a vector, so that it isn´t a matrix anymore. The network should connect directly between 100 inputneurons and just 1 outputeuron.
I hope you can help me with my issue.
Thanks for your help!

Accepted Answer

KSSV
KSSV on 30 Jul 2018
If regression, use:
net = fitnet([]); % For regression
view(net)
If classification, use:
net = patternnet([]); % For classification
view(net)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!