Primary competition visual

Uber Nairobi Ambulance Perambulation Challenge

Helping Kenya
$6 000 USD
Completed (~5 years ago)
Prediction
1091 joined
330 active
Starti
Sep 17, 20
Closei
Jan 24, 21
Reveali
Jan 24, 21
To those who tried clustering as their solution.
Connect · 19 Jan 2021, 01:44 · edited 1 minute later · 11

What's the best lb score you achieved using only clustering and coordinates of crashes? Mine is 44.29.

Note that i don't even use the time component in my current solution meaning that the locations for the ambulances is static time-wise across the submission file.

Discussion 11 answers
User avatar
Bilaerl

Hello @blenz

What clustering algorithm did you use ?

19 Jan 2021, 08:54
Upvotes 0
User avatar
Bilaerl

I tried Kmeans too but I am getting 105.81

Thinking of ways to improve the score

A default model using kmeans on the crash coordinates with 6 clusters gives around 52.xx. Make sure you're not making a mistake in the creation of the submission file or something

User avatar
Bilaerl

I will do that. Thank you

User avatar
Bilaerl

I have been using the offline scoring function to score my model. I just submitted my submission file to Zindi, and I got 49.xx

yes. with a little tweaking, you should get a lower score.

Hi Blenz, i got 40.42. I modified kmeans by using the geometric median instead means. Kmeans minimizes the squared distances, but the score function is without squares. In fact, it is a well known optimization problem, called the "Multi Source Weber Problem" (MWP).

22 Jan 2021, 14:04
Upvotes 0

Thanks for your answer. I've read a little about MWP.

User avatar
Bilaerl

@Marvin27, what library are you using to create your models ?

Hi Bilaerl, because i am a total beginner with python, i started with a pure java program.