how do I get a neural network without hiddenlayer

1 次查看(过去 30 天)
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!

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by