How to store the vectors (arrays) and get the Euclidean distance for the search request?

Hello.

I have 2 questions

  1. I want to store arrays of images obtained from numpy (Python) Arrays, for example, are as follows: [1.1, 2.2, 3.3, 4.4, 5.5, 6.6] How can they be indexed?
  2. Let's say they are indexed. We have an array [1.2, 2.4, 3.5, 4.9, 5.0, 6.7] It's not in the index. But we need to get as similar to it. Ideally, when you request to receive multiple responses of the form:
    • array
    • the number of Euclidean distance
    • array
    • the number of Euclidean distance
    • array
    • the number of Euclidean distance

like nearest neighbors

Something similar is announced in future versions. But I would like to know if there are any solutions now? The plug-ins? Thank you advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.