BanditPAM icon indicating copy to clipboard operation
BanditPAM copied to clipboard

Precomputed loss

Open kno10 opened this issue 2 years ago • 2 comments

A workaround for #163 would be if I could simply provide a precomputed loss matrix, and use "precomputed" loss.

I couldn't find the doxygen documentation online anywhere, the available losses appear to be here:

https://github.com/ThrunGroup/BanditPAM/blob/5f12c07d80101abf076eea32a313bba9dbf427c8/src/kmedoids_algorithm.cpp#L129

kno10 avatar Dec 21 '21 11:12 kno10

I like the proposed solution, as supporting sparse matrices natively would be significantly more complicated

motiwari avatar Dec 21 '21 16:12 motiwari

It does increase the run time with the quadratic cost of the similarity matrix though.

kno10 avatar Dec 21 '21 20:12 kno10