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
#1 . Approach
Connect · 10 Feb 2021, 16:11 · edited 43 minutes later · 6

My approach to the Uber Nairobi Ambulance Perambulation Challenge ;

To begin with, it was important to observe the possible causes of road accidents and the factors that influence these incidents.

I observed unsurprisingly that the Time of the day, Day of the week, Public Holidays, and weather conditions had a lot of influence on the accident patterns. You can check this out in more details here

Then I grouped the accident locations based on this and optimized the ambulance locations for each time of the day(3Hr window), Day of the week, Public Holidays, and extreme weather conditions using a gradient descent algorithm to minimize the closest ambulance location to each accident location.

Since these groups of data are overlapping, The tricky part was determining which group takes preference. For example, the Ambulance location obtained for All days 3-6 pm may perform better than the location obtained from a more specific set of data like Sundays 3-6 pm.

IMPORTANT STEPS

  • running each grouping individually and observing how their optimized locations differ from the general location and also how they performed during the validation and test period
  • Choice of the Validation period. After observing that accident locations were influenced by time and period. I chose a validation period that mirrored the test set.

I'll be happy to answer questions or clarifications under this thread

Discussion 6 answers

Thanks a lot. It might inspire others to do the same. And congrats on winning!

Thanks for sharing. Great solution

10 Feb 2021, 16:15
Upvotes 0
User avatar
yakyo

Thank you

10 Feb 2021, 18:10
Upvotes 0

Thank you very much for sharing! Congrats!

11 Feb 2021, 11:02
Upvotes 0

Do you mind sharing a link to your code so that I can check for your approach

21 Jul 2021, 10:37
Upvotes 0