Giter Club home page Giter Club logo

causal_inference's Introduction

Logistic-Optimization

Delivery drivers location optimisation with Causal Inference

Initial system architecture design

Table of contents

Introduction

The client is Gokada - the largest last mile delivery service in Nigeria. Gokada works is partnered with motorbike owners and drivers to deliver parcels across Lagos, Nigeria. Gokada has completed more than a million deliveries in less than a year, with a fleet of over 1200 riders. One key issue Gokada has faced as it expands its service is the sub-optimal placement of pilots (Gokada calls their motor drivers pilots) and clients who want to use Gokada to send their parcel. This has led to a high number of unfulfilled delivery requests.

Objective

Gokada is asking 10 Academy trainees, to work on its data to help it understand the primary causes of unfulfilled requests as well as come up with solutions that recommend drivers locations that increase the fraction of complete orders. Since drivers are paid based on the number of requests they accept, the solution will help Gokada business grow both in terms of client satisfaction and increased business.

Data

There are two datasets available for this project.

  • The first one is the table that contains information about the completed orders
  • Trip ID
  • Trip Origin
  • Trip Destination
  • Trip Start Time
  • Trip End Time
  • The second one is the table that contains delivery requests by clients (completed and unfulfilled)
  • id
  • order_id
  • driver_id
  • driver_action
  • lat
  • lng
  • created_at
  • updated_at

Basic features of the data sets:

Requirements

Pip

You can find the full list of requirements in the requirements.txt file

Install

It is recommended that to create a new virtual environment and install every required modules and libraries on the virtual evironment.

Installing this application

  • First clone this repo to your local machine using the command below
git clone https://github.com/ekubay/causal_inference.git
cd causal_inference
pip install -r requirements.txt

Notebooks

All the notebooks that are used in this project including EDA, data cleaning and summarization along with some causal graph learning and machine learning model generations are found here in the Notebooks folder.

Scripts

Some helper modules for the data exploration and causal graph learning are found here.

Tests

All the unit and integration tests are found here in the tests folder.

Author

๐Ÿ‘ค Ekubazgi Gebremariam

Show us your support

Give โญ if you like this project, and also feel free to contact me at any moment.

causal_inference's People

Contributors

ekubay avatar

Watchers

 avatar

Forkers

webclinic017

causal_inference's Issues

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.