k means with similarity matrix

I want to know if I can cluster k means using a similarity matrix as input,
This similarity matrix was calculated on a database containing drug names that I want to group according to spelling similarity,
To calculate the similarity matrix I used the BISIM function,
thanks for all your help

Hi @lyna

Welcome to the forum!
I am not entirely sure if I understood your matter, but if it’s about how to process a similarity matrix for k-means, I could suggest you this:

Hope that helps!

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