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!
0 个评论
采纳的回答
KSSV
2018-7-30
If regression, use:
net = fitnet([]); % For regression
view(net)
If classification, use:
net = patternnet([]); % For classification
view(net)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!