Giter Club home page Giter Club logo

lyft's Introduction

Lyft Data Challenge 2019

The goal of the challenge is essentially to recommend a Driver's Lifetime Value (i.e., the value of a driver to Lyft over the entire projected lifetime of a driver). This notebook details the solution to Lyft Data Science Challenge.

Dataset

Dataset was emailed to all participants by Lyft. We are provided with driver_ids.csv, ride_ids.csv, and ride_timestamps.csv.

Reproduction

All work was done on Google Colab. To reproduce the result, first create a folder under Colab Notebooks. Otherwise, remove the cells that involve Google Colab and change the following path locally.

PATH='/content/drive/My Drive/Colab Notebooks/lyft'

To install the needed libraries locally, run pip install -r requirements.txt

Summary

LTV is affected by the number of days the driver drove, total revenue generated by the driver, which is related to miles traveled, minutes traveled, percentage increase in the fare, and the churn rate.

The average projected lifetime of a driver is 3.03 years.

Drivers can be segmented into 3 main clusters by applying KMeans clustering algorithm to features associated with LTV. We also study other features based on clusters. Results show that there are several features that are significantly different based on each group. For instance, the number of rides completed on weekdays and time elapsed between a driver's drop-off and pick-up time.

We recommend that high value drivers should be rewarded with higher share of fare; mid value drivers should be nudged to encourage driving more consistently based on unusual inactivity; low value drivers should be incentivized via gamification strategies. Loyalty program can be introduced to all drivers to discourage "dual apping".

Acknowledgements

Thanks to Lyft for organizing this competition and providing an interesting dataset for analysis.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.