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

3 次查看(过去 30 天)
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 个评论
Image Analyst
Image Analyst 2014-6-15
It's not clear. Have you actually created the network yet? If yes, then have you trained it or not?
primrose khaleed
primrose khaleed 2014-6-15
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??

请先登录,再进行评论。

采纳的回答

Greg Heath
Greg Heath 2014-6-18
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?

更多回答(1 个)

Greg Heath
Greg Heath 2014-6-15
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 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2014-6-16
编辑:Azzi Abdelmalek 2014-6-16
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

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by