Creating N number of outputs for Neural Network

1 visualizzazione (ultimi 30 giorni)
Anon97
Anon97 il 11 Apr 2020
Modificato: Anon97 il 11 Apr 2020
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.

Risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by