JuliaStats / Clustering.jl

A Julia package for data clustering
Other
354 stars 117 forks source link

Affinity propagation documentation #130

Open bosscha opened 5 years ago

bosscha commented 5 years ago

The affinity propagation clustering method would gain with some docs on the use.

xiuliren commented 5 years ago

https://clusteringjl.readthedocs.io/en/latest/affprop.html

bosscha commented 5 years ago

Ok, thanks for the update. I will try it and close the issue. For now i am using dbscan quite successfully..

xiuliren commented 5 years ago

unfortunately, I did not have success with AP in Julia. The result is not consistent with python sklearn which was supposed to be more stable. https://github.com/JuliaStats/Clustering.jl/issues/131

xiuliren commented 5 years ago

my comparison code is not correct. python start from 0, so I should add 1 for python labels. Julia implementation seems correct.

xiuliren commented 5 years ago

actually, the result do have some difference.

xiuliren commented 5 years ago

it turns out just some label value difference, the rand index is 1.0, so it is correct!