|
kNN
Added in advas.0.1.0
Uses the k-Nearest Neighbour algorithm to calculate the similarity of two vectors - one for a document, the other for a given request.
In: |
vector_1 |
first vector (a dictionary with pairs list[item] = value) |
|
vector_2 |
second vector (a dictionary with pairs list[item] = value |
Out: |
|
float value showing the similarity of the two vectors |
|
|