Обсуждение: Similarity check on vectors

Поиск
Список
Период
Сортировка

Similarity check on vectors

От
Shmagi Kavtaradze
Дата:
I was using pg_similarity on texts, but now I have two types of vectors: bag of words and embedding vectors. They look like:

Bag of words: (delimited by comma or by space)
1,1,0,0,1 

Embedding Vectors: (delimited by space)
-0.00205523529412 0.00168023529412 -0.00357188235294 -0.000664294117647 0.00369488235294

pg_similarity as other similarity check algorithms I saw work on text not on Vectors. Any ideas how to do it or what extensions exist for this?