Neural Network Regression Problem with multiple Outputs
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello everyone, I am now having a 1000 images, which have 10 continous attributes. My goal is to predict these 10 attributes values when I feed it a new image, after training.
So I think it is like a regression problem and I expect there will be 10 regression output layers in respond to these 10 attributes. How can i achieve this with Matlab? I think trainNetwork doesnt work. It is only applicable for non-multi-output lgraph.
Then I look at this:Train Network with Multiple Outputs https://www.mathworks.com/help/deeplearning/examples/train-network-with-multiple-outputs.html
Is that right direction? If not, can you point me?
I dont really know what parameters and state are.
I would be gladful if you leave a comment.
댓글 수: 0
답변 (1개)
Srivardhan Gadila
2020년 3월 14일
The last two layers of your network architecture must be a fullyConnectedLayer with outputSize 10 followed by regressionLayer
layers = [ ...
fullyConnectedLayer(10)
regressionLayer];
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!