How do I use the Neural Network?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Josh White
am 24 Apr. 2015
Kommentiert: Josh White
am 24 Apr. 2015
I have a data set that I would like to categorize into 3 groups. For practice I made a matrix of 100rows by 4 columns to simulate 100 data points with 4 pieces of information each (in my actual data these are easting, northing, strike, and dip).
My problem is that after running the neural network clustering app (nctool), I have no idea what to do with the code that was generated. Ive saved it both as a MATLAB function and as a MATLAB Matrix only function.
But when I open the .m files and try to run them I get errors immediately.
Specifically, my (100,4) matrix is called Input, and thats all I ran through the model. That file is open, and both it and the neural network generated file are in the same folder.
When I open and run the .m file, all I get is
Error using TestCodeOption2 (line 25)
Not enough input arguments.
Error in run (line 96)
evalin('caller', [script ';']);
Line 25 is the very first line without the % comment designator.
I suppose that this file has a variety of new variables and or matrices that I need to generate.
but I'm completely lost.
I appreciate any help.
Thanks!
0 Kommentare
Akzeptierte Antwort
Greg Heath
am 24 Apr. 2015
There are very simple examples in the command line help and doc documentation
help fitnet % curvefitting and regression
doc fitnet
help patternnet % pattern-recognition and classification
doc patternnet
I have posted many examples in the NEWSGROUP and ANSWERS. For classification, include the search words
greg patternnet
Hope this helps.
Greg
PS Transpose your input and target matrices
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Parallel and Cloud finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!