Answer the question
In order to leave comments, you need to log in
elasticsearch. How to get to store vectors (arrays) and get the Euclidean distance for the required query?
Good afternoon.
A couple of follow up questions.
1. I want to store arrays of images obtained from numpy (Python)
Arrays, for example, are like this: [1.1, 2.2, 3.3, 4.4, 5.5, 6.6]
How can they be indexed?
2. Suppose they are indexed.
We have an array [1.2, 2.4, 3.5, 4.9, 5.0, 6.7]
It is not in the index. But you need to get as similar as possible to it.
Ideally, when requesting, receive several responses of the form:
1. - массив
- число евклидовой дистанции
2. - массив
- число евклидовой дистанции
3. - массив
- число евклидовой дистанции
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question