Neural Network Pattern Recognition Tool.

2 views (last 30 days)
Jacek
Jacek on 23 Jan 2011
Commented: Greg Heath on 8 Apr 2016
Hi Everyone, I am quite new to neural networks. I have a problem with pattern recognition using Neural Network Pattern Recognition Tool. As it is shown in demos I created 2 data sets in order to perform simple classification task. Firs one (6x90) contains 90 column vectors with 6 shape coefficient each. Second data set - targets (2x90), contains 90 column vectors where each ith column indicates which category the ith shape (it's either circle or triangle) belongs to. I trained the network with default settings and saved my results. And I'm stuck at this point. How to use trained network to, for example, classify one column vector with 6 shape coefficients to one of two classes? I found tried this http://azload.com/artificial-neural-networks-the-tutorial-with-matlab-5768.html but it seems to be inappropriate for linearly nonseparable problems. Any help would be appreciated:) Jacek

Accepted Answer

Ram
Ram on 23 Jan 2011
I donno if u used nntool during training..Type nntool in command window it wil open nntool dialog box.. U have to import ur network and test data into it.. after u hav imported double click ur network a dialogue box wil open, in it under simulate tab input ur test data and simulate the results now the simulated results will be stored in nntool dialogue box.. u can open it and view the results.. if u want to work with that data u can export it into workspace.. the result is usually a non-integer you can use round command to round it to the nearest integer.. hope this is useful :)

More Answers (1)

Jacek
Jacek on 23 Jan 2011
Thank you for your answer Ram. I actually used nprtool to open neural network pattern recognition dialog box and train my network. As you suggested I then used nntool and it worked as I wanted. Thank you very much.
  4 Comments
Sohail Sarwar
Sohail Sarwar on 7 Apr 2016
Dear Greg, I want to categorize the data set of 1500 learners into four classes. Is that possible with nprtool? Since one of your posts says we can get result for two classes. Can you please elaborate above suggestion coz it can make things to work for me. Regards Sohail
Greg Heath
Greg Heath on 8 Apr 2016
I am not that familiar with nprtool.
However, I have posted many explanations of classifier design in BOTH the NEWSGROUP and ANSWERS especially using codes newff, newpr and patternnet.
Use the help and doc commands to obtain minimal code.
help patternnet
doc patternnet
Then to find more detailed examples.
greg patternnet
Hope this helps.
Greg

Sign in to comment.

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!