Creating N number of outputs for Neural Network

조회 수: 1 (최근 30일)
Anon97
Anon97 2020년 4월 11일
편집: Anon97 2020년 4월 11일
Hello,
This is more of a confirmation rather than a question because whenever I tried to find the solution on the question forums, there were no thourough answers explaining in detail what I needed. So here we go:
If you are trying to create a neural network with N number of outputs using the feedforwardnet tool, the labels/target needs to have the demensionality of N columns. Meaning, that if my neural network wants to have 7 outputs and I have a 100x12 training data set (100 being # of patients with 12 features) with a 100x1 label/target dataset (over the 100 rows, there's 7 different labels say 1-7 or however you classified them), you need to change the label dataset/matrix into a 100x7. I realized on my own that the number of outputs are dependent on the number of columns there are in the label/target matrix.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by