E
E
Evgeny Ivanovich2017-07-02 23:25:19
Machine learning
Evgeny Ivanovich, 2017-07-02 23:25:19

Is there a Hopfield pattern recognition with similarity coefficient determination?

In general, the essence of the question is whether it is possible to obtain a coefficient (from .0 to 1.0 or whatever) when recognizing an image, which, in the opinion of the program, would determine the similarity (similarity) of the image presented to the program with any image from the training sample? (with the possibility of determining the similarity coefficients with episodes from the training sample?)
Is there a classic Hopfield network in python, is it possible to set up the algorithm in such a way that when determining the image it would be possible to obtain a similarity coefficient?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseny Kravchenko, 2017-07-03
@Arseny_Info

Two options come to mind:
1) Head-on: train one network (something simple from convolutional networks, like VGG) on the entire dataset, take features from the penultimate layer for each of the images that need to be compared, calculate the cosine distance between the received vectors . It is written in python in 50-100 lines.
2) If you want to get confused: siamese networks .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question