How to use the nprtool in Matlab?

9 views (last 30 days)
Monisha
Monisha on 3 Jul 2012
Answered: Mohd Jameel on 16 Mar 2019
Please give me an idea on how to use this tool in Matlab! Any help would be appreciated!
Matlab Help is not helping much...
I need to have 250 images of every Kannada character as input and the target vector should consist of digits (indicating class) for each character. As in, 1 indicates it is the first character and so on...
The problem statement is basically recognizing handwritten Kannada characters. So any ideas on how to use neural networks for this and how to train it?
[Merged information from duplicate question]
How to create a dataset as input to a neural network for a character recognition system?
I have 250 images of each handwritten Kannada character that I need to feed into the neural network as input and my target vector should be such that the values within the target dataset should indicate which letter has been inputted. Maybe a 1 in a particular column can indicate the class? Any ideas? I have no clue. Please help.
Is this right? Suppose all 250 images of the first letter have a size of 75x75, does the input matrix have to be a size of 250x75x75? How do you do this? And if so, what should the target vector look like?
I am using nprtool. I have to create the target and input matrices as variables right? (with the extension .mat)
Please put my confusion to rest soon!
  4 Comments
Greg Heath
Greg Heath on 1 Aug 2012
First you have to perform feature extraction to reduce the sizes from 75x75 = 5625 to something much smaller say, 10x10 = 100 (For realistic numbers search the internet for kannadi feature extraction). Then create an input matrix with subset matrices of size 100x250 for each character. These are concatenated to obtain a composite input matrix of size 100xN where N =250*c for c characters. The corresponding target matrix contains columns of the c-dimensional unit matrix eye(c). The row index of the "1" indicates the class index.
Hope this helps.
Greg
Mohd Jameel
Mohd Jameel on 16 Mar 2019
plz provide some more details including matlab code regarding this question

Sign in to comment.

Answers (1)

Mohd Jameel
Mohd Jameel on 16 Mar 2019
I have to feed a character vector to neuaral network..... plz tell me how to design my NN .... i.e how many input neorons... how many neorons at hidden layer ... how many at output..... kindly provide full details including code and also the input and target data creation

Categories

Find more on Text Analytics Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!