Total newbie here.

My question is: is there a way that allows me to get the center-most vector(each center-most vector for each group of vectors) from all the groups of vectors.

eg. vector A, vector B and vector C lie close together. vector B lies in the center of this group of vector. So, vector B would be returned.

however if there are other groups of vectors, the centermost vector of all the groups should be returned. the groups may be grouped according to provided radius.

Hope my question is clear.

Hi @theDude!

There is no way to get what you are looking for But it depends why you are needing this in the first place. Maybe you can make a way around and only store these â€ścentroidsâ€ť into Pinecone and have all the other vectors stored elsewhere or you could have them all stored inside Pinecone, but separated by â€śnamespaceâ€ť.

Hope this helps

turns out what iâ€™m looking for is a popular algorithm called k-means clustering (but with radius instead of k).

is there a way to perform regular k-means clustering in the vectors stored in pinecone?

Not by default, as far as I know. You could maybe use Pinecone in your own implementation of k-means, but other than thatâ€¦ I donâ€™t think this will help you much, sorry

Thanks for the quick reply. : )

1 Like