What is the difference between classifiication and matching in neural networks?

1 view (last 30 days)
Hi everybody.... I create a neural network and training it... Now I need to test the network.
For example: if I enter an image I want to show the same image that is in database.
What can I do to make this...??? i doing training ..what can i do after that??? plz help me...i am new in neural network
  2 Comments
Image Analyst
Image Analyst on 15 Jun 2014
It's not clear. Have you actually created the network yet? If yes, then have you trained it or not?
primrose khaleed
primrose khaleed on 15 Jun 2014
thanks image analysist...yes i create network and traning it..now i want when enter test image the network show the similarty matching immage...how can do this??

Sign in to comment.

Accepted Answer

Greg Heath
Greg Heath on 18 Jun 2014
You haven't explained what type of classifier you have designed. In particular, what is the command sim(T,testimage) supposed to yield?
Please show your code. So far, your explanation is not clear. Your expression for T doesn't look correct.
If you want to display the nearest exemplar of the chosen class, why not just use a nearest exemplar classifier in the first place?

More Answers (1)

Greg Heath
Greg Heath on 15 Jun 2014
I don't understand how you can be training a net when you don't know what the output should be.
If you have c categories, number them from 1 to c and represent the ith category target by the ith column of the unit matrix eye(c).
Hope this helps.
Thank you for formally accepting my answer
Greg
  1 Comment
Azzi Abdelmalek
Azzi Abdelmalek on 16 Jun 2014
Edited: Azzi Abdelmalek on 16 Jun 2014
Primrose commented
i create target matrix ...T=[1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 ]; out=sim(T,testimage) now i want to display the image that is similarty the testimge.. plz help me

Sign in to comment.

Categories

Find more on Image 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!