criticalmaps / criticalmaps-api

🗄️
16 stars 6 forks source link

Add clustering to results #7

Open dirkschumacher opened 5 years ago

dirkschumacher commented 5 years ago

👋 I believe it would be useful to cluster the locations in order to quickly find out what points belong to what criticalmass. This would then enable other functionaly: like estimating the direction of each critical mass.

The API could just have another field per record with a cluster number.

Depending on the method the clusters could be computed on the fly or on a regular basis in the background.

I would be happy to work on something. Depending on the algorithm there could either be a pure JS algorithm or there is another local http service giving the cluster estimates.

Questions:

mltbnz commented 4 years ago

👋

To me it sounds like a useful thing. We had the idea in the app as well. PRs are welcome for sure.

There is a dataset from a CM in August stored here: https://github.com/criticalmaps/criticalmaps-testdata