- http://www.mathworks.com/help/nnet/examples/crab-classification.html
- http://www.mathworks.com/help/nnet/examples/character-recognition.html
Handwritten digit recognition using Neural networks; How to configure for 2-D input?
20 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jinal
am 15 Okt. 2013
Kommentiert: Greg Heath
am 3 Nov. 2013
My objective is to train a NN to recognize handwritten digits (Black/White bit pattern). The neural net seems to expect each input (training/test instance) as a column in a matrix/cell.
I do not wish for a full connection between the input and the immediate NN layer. I want to specify a more localized mapping between the input bits and the hidden neurons. In essence a mapping best descried if both the layer and the input can treated as 2 dimensional.
When my training instances are specified as columns, they loose a part of adjacency information.
How can I feed the NN an 2-D input?
I've crawled through much of the tutorial style documentation and couldn't find much that helped. Being rather new to matlab, it's a bit overwhelming. Links to relevant documentation are also welcome.
Also, what more information would be useful to answer this question?
0 Kommentare
Akzeptierte Antwort
Jonathan LeSage
am 15 Okt. 2013
Bearbeitet: Jonathan LeSage
am 15 Okt. 2013
Specifying an image as a column vector does not eliminate the adjacency information. As the column of pixels repeats at a regular interval, the patterns are still detectable when you train your neural network.
Here are some simple examples of classification which you could follow to get more familiar with the MATLAB environment:
MATLAB can only accept matrix training data when you are training a nonlinear-autoregressive (NAR) network. The third dimension in the cell array is the time. For more information, you can consult the documentation for the train function:
Hope this helps!
3 Kommentare
Greg Heath
am 3 Nov. 2013
Any property you want to present should have each instance in column vector form. Therefore, if you want to present properties of a rectangular region, it should be columnized using the colon operatator.
The drawback is that each region must have the same size.
In some instances this is accomplished via overlapping rectangular regions.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Data Workflows 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!