how do I get a neural network without hiddenlayer

1 Ansicht (letzte 30 Tage)
Lorenz Hipp
Lorenz Hipp am 30 Jul. 2018
Kommentiert: Lorenz Hipp am 30 Jul. 2018
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!

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by