Neuronal network inputs and outputs
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Juan Pablo Guamn Bernal
am 10 Mai 2021
Kommentiert: Juan Pablo Guamn Bernal
am 13 Mai 2021
Hi everyone, I made a fitting NN, and I have the input data on a excel file with 18 variables and the 6 outputs in another file, everything looks like work pretty well, but every tiem I called the network, it only works when I placed just one input variable, but It should work just when I put the 18 variables values intup, am I right? Am I getting something wrong?, thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/613745/image.jpeg)
0 Kommentare
Akzeptierte Antwort
Divya Gaddipati
am 13 Mai 2021
Your function expects a single input argument. But, you are giving 16 inputs, which is why it's failing.
You can try the following to resolve your issue:
% Input should be a matrix
y1 = myNeuralNetworkFunction([1:16]);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Function Approximation and Clustering finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!