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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Image Analyst
Image Analyst il 15 Giu 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 il 15 Giu 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??

Accedi per commentare.

Risposta accettata

Greg Heath
Greg Heath il 18 Giu 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?

Più risposte (1)

Greg Heath
Greg Heath il 15 Giu 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 Commento
Azzi Abdelmalek
Azzi Abdelmalek il 16 Giu 2014
Modificato: Azzi Abdelmalek il 16 Giu 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

Accedi per commentare.

Categorie

Scopri di più su Image Data Workflows in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by