Python routine for most diverse vectors

  Kiến thức lập trình

I’ve N vectors, and the cosine similarity between all N*(N-1)/2 pairs. I need to select K vector pairs (of all vector pairs) such that difference between the pairs k(i)-k(i+1), i=1…K-1 is more or constant for all selected pairs K.
I suspect there’s a entropy-component in it (remove as many elements such that the increase in entropy is smallest) but I have no idea where to start.

Any suggestions welcome

best,

Andreas

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT