No more Cancellations? No more 'Jana Kahan Hai?'
Shaurya Uppal
Data Scientist | MS CS, Georgia Tech | AI, Python, SQL, GenAI | Inventor of Ads Personalization RecSys Patent | Makro | InMobi (Glance) | 1mg | Fi
Good news for travelers! On a personal front majority of my ride-booking used to get canceled after the question of 'Jana Kahan Hai?'.
I am sure my fellow subscribers must have experienced the feeling when the driver calls and asks the dreaded question: 'Jana Kahan Hai' (where do you have to go) and then cancels the trip.
With the latest update now Uber is showing trip destinations to drivers before they decide to accept a ride to enable them to make informed choices. You will likely not have to pay Uber trip cancellation fee and the driver is unlikely to cancel the trip either.
The thing now from change from here, it has been always hard to predict if a driver would cancel a ride or not as the conversation of user-driver used to be on a phone call. Since the driver is now more informed about the pick and drop location of the user and is incentives separately for the distance traveled to pick up the user, the focus now shifts from cancellation to driver accepting a ride.
Let's understand from a Data Science (Machine Learning) perspective what happens behind the scene to match user requests to a driver whose probability to accept the ride is high and get your request fulfilled in the minimum time possible.
In summary, to find the best cab drivers for you — within a few seconds; these ride-hailing companies (Uber, Lyft, Ola, Rapido, etc.) run a matching algorithm and also check a driver’s ride acceptance probability before pushing a request to them.
In this Newsletter, we shall discuss how we can build a driver ride acceptance probabilistic model?
Objective: Predict if a driver will accept ride request or not and find the probability of acceptance?
This Blog is Sponsored by ProjectPro .
Stop going to multiple online forums to hack together solutions. ProjectPro has ready-made professional project templates for data extraction, data analysis, data visualization, model deployment, and?more.
If you are interested to learn demand forecasting at a ride-hailing platform check out my Data Science course at ProjectPro.
Characteristics / Features Required -
In order to figure out the features required to solve this problem in a ride-hailing business, a data scientist must be well-versed with domain knowledge. Product thinking is always important for a data scientist.
1. Trip
2. Driver
a) Enroute or Available
b) Historic Features
3. Vehicle Type
领英推荐
4. Rider (Client)
Interesting read profile image matters on both (driver and rider) side ??: 'Zombie' drivers are scamming people out of cash with horrible profile pictures
5. Traffic
6. Special Events (occasional change)
Modeling
We now have a rich feature set that can help us predict whether a driver will accept a client’s ride request or not. We use standard statistical machine learning supervised classification algorithms(with spot-checking):
Model Metrics: AUC-ROC, F-beta score (beta = 2; if Recall is twice important as Precision)
Model Inference: Find out the closest <K> candidate drivers to the rider and send trip requests to drivers based on the (Highest to Lowest) probability of their acceptance from the model output.
Conclusion
I hope you understood the business problem and can relate to the features we picked for modeling out the patterns. While there is no silver bullet solution and these problems are way more complex, our aim was to improve the user experience and minimize the user-driver matching time as even a millisecond of change in the driver-user matching algorithm can help save millions of dollars.
According to a paper entitled The Cost of Latency in High-Frequency Trading, a 1-millisecond advantage in latency can be worth upwards of $100 million per year.
Reference: Hindustan Times Article on Uber's Update
I hope you learned something new from this post. If you liked it, hit ??, subscribe to my newsletter, and share this with others. Stay tuned for the next one!
Connect, Follow or Endorse me on?LinkedIn ?if you found this read useful. To learn more about me visit:?Here
The newsletter is now read by more than 4000 subscribers. If you are building an AI or a data product or service, you are invited to become a sponsor of one of the future newsletter issues. Feel free to reach out to?[email protected]?for more details on sponsorships.
Other Recommended Newsletters:
[1]?Experimentation when you can't A/B Test | Beyond A/B Testing - Switchbacks & Synthetic Control Group
Subscribe to get Email Notification:?HERE
School of AI @ IIT Delhi | IISc Bangalore | BITS Pilani
2 年Honestly, this would not solve the problem at all. Because in this case, the driver would invariably cancel trips to locations from where they won't presumably get more trips. Pehle wo call karke cancel karte the, ab khud hi dekhke cancel karenge.
Staff Software engineer, Data Engineer |Tech lead | Machine Learning
2 年Very Intresting. I am on vacation in india from last week and noticed this happening. I see most cases drivers are transferring to other drivers and this keep going forever. For sure this will improve.
Operations - Restaurants // QSR // E-Commerce // Travel // Tourism
2 年Driver knowing the final destination will impact the user experience and decline % is also bound to jump. One of the reasons I preferred Uber was I don't have to keep on asking 10's of Kali Peeli for a ride.
Data Scientist | MS CS, Georgia Tech | AI, Python, SQL, GenAI | Inventor of Ads Personalization RecSys Patent | Makro | InMobi (Glance) | 1mg | Fi
2 年I have a course about demand forecasting in ride-hailing domain on ProjectPro: https://lnkd.in/dkCAktD2
AI @ Databricks | Top Machine Learning Voice
2 年This is a good read. One more feature to consider is if there is any surge fare. That acts as an incentive for the driver to accept.