rust-kmedoids
rust-kmedoids copied to clipboard
How to achieve sample weighting?
Thanks for this awesome library. It's fast, powerful, and has already helped me a lot.
The sklearn KMeans algorithm has a optional sample_weight
option, specifying weights for each observation. I'm wondering if this functionality is available in your library as well, e.g., by passing some sort of weighted dissimilarities? Or fork this crate and extend an algorithm?
P.S.: Currently, I'm not involved in clustering research; I'm simply using it for my purposes. Hence, I'm uncertain if weighting is even well-defined for k-medoids algorithms. So, apologize for any disturbance.