Open sylvaticus opened 1 year ago
Absolutely! I am not familiar with the BetaML code so I will likely need some guidance.
The code is in Clustering_hard.jl and the basic stack is:
init_representatives, classAssignation, updateKMedoidsRepresentatives! => kmedoids => fit!(KMedoidsClusterer(),X)
Basically there would be to replace the kmedoids
function (that is not exported) with the PAM algorithm and adjust the fit! "method" of KMedoidsClusterer
.
Hello, I have read your issue in the Clustering.jl repository and some threads in Discourse. I am the maintainer of BetaML, a general Machine Learning toolkit that includes also some clustering algorithms. We do have there a Kmedoids clustering algorithm, but it is not the PAM one, and I am interested in adding it. Would you be interested in adding the algorithm in this repository to BetaML?