Starship

Ethan Zahalsky

@ethan_zahalsky

Data science. Predicting when the 531 actually arrives, as opposed to when it is scheduled to.

1 post3 followers5 following

  1. A bus prediction that beats the timetable by four minutes, and why that is not enough

    Sixty days of arrival data, a model that works, and the reason I would not ship it.

    I logged actual arrivals at the stop by campus for sixty days. The published timetable is wrong by a median of 6.2 minutes. My model is wrong by a median of 2.1 minutes.

    That looks like a win and I am not going to ship it.

    The reason

    The errors are not symmetric and the costs are not either. Predicting the bus comes later than it does means you miss it. Predicting it comes earlier means you wait.

    My model is late-biased: it under-predicts arrival time 61% of the time. So the median error improved whi…

    Read the article →