Train ten numbers and identify new inserted number

Using matlab,neural network first I need to train 0,1,2,3,4,5,6,7,8,9 .Then we think we insert number as 3.The program should have capability to identify this number as 3.This is how need to work my matlab program.Can You give me a sample matlab code for this. Thank you.

More Answers (2)

Your question is not clear. However, there are plenty of examples in the Neural Network Toolbox documentation:

4 Comments

Madhu
Madhu on 3 Jul 2014
Edited: Madhu on 3 Jul 2014
Actually I need to do this program to get an idea how train data first,and finally identified some features.In image processing we can identify images using some features.
In this simple example we can train 0,1,2,3,4,5,6,7,8,9 and finally identify numbers using their features.(using image processing/Matlab)
This example learns and predicts handwritten numbers, it uses decision tree instead of neural networks, but it would be easy to replace that part with neural networks:
Madhu
Madhu on 9 Jul 2014
Edited: Madhu on 9 Jul 2014
Thank you for your suggestion.In here what is call "usps_all.mat"?
Actually, I hope to do this for identifying printed numbers using neural network techniques (neural network toolbox) and pattern recognitions, not for hand written numbers.So, how can be the matlab code and other differences?
I am very new to matlab. So,It will big help for me.Thank you again.
http://www.mathworks.in/help/nnet/gs/classify-patterns-with-a-neural-network.html I go through this, but this is use to identify Breast Cancer.How I change this for identify images of 0,1,2,3,45,6,7,8 and 9? Thank You.

Sign in to comment.

You say "I hope to do this for identifying printed numbers". Why not just use the tool already built for this: http://www.mathworks.com/help/vision/ref/ocr.html#bt548t1-2_1, which is OCR in the Computer Vision System Toolbox? Why use neural networks when you don't have to?
But then you said you were working on breast cancer images, presumably to find the nodules, not the text in the image. Changing from integers in an array, to images of printed characters, to pictures of breasts is quite a change and I'm not sure why you think that the solution to one of those situations would automatically work for the other two situations. So now I don't really know what you want. Please attach an image.

5 Comments

Madhu
Madhu on 12 Jul 2014
Edited: Madhu on 12 Jul 2014
These images number 1 and 2.Like that I have 0 to 9 numbers' images.Actually, this program is used to get an idea for my project(Image identification).So,I need to identify this images using neural network-tool box,pattern recognition, training numbers etc.These several methods are I got from my teacher.I think you can get what I want.Thank you for your help.
I think the Computer Vision toolbox would work fine for that. If you don't have that, there are other ways, such as analyzing all letters and just recording the area of each letter, then compare the area of the "test" letter to the known areas (works as long as the font style and size are the same).
Thank you very much.Is there any sample code or link for my help.
If you want to find the areas of objects, see my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Thank you very much..

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 3 Jul 2014

Commented:

on 13 Jul 2014

Community Treasure Hunt

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

Start Hunting!