- 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?
13 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Jonathan LeSage
2013-10-15
编辑:Jonathan LeSage
2013-10-15
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 个评论
Greg Heath
2013-11-3
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!