Code Monkey home page Code Monkey logo

grab_ai's Introduction

Grab_AI

Traffic Management Project

Screenshot_2

PROBLEM STATEMENT

Economies in Southeast Asia are turning to AI to solve traffic congestion, which hinders mobility and economic growth.

The first step in the push towards alleviating traffic congestion is to understand travel demand and travel patterns within the city.

Can we accurately forecast travel demand based on historical Grab bookings to predict areas and times with high travel demand?

Dataset:

The given dataset contains normalized historical demand of a city, aggregated spatiotemporally within geohashes and over 15-minute intervals. The dataset spans over a two month period.

geohash6: encoded geographic location

day: days follow a sequential order and not a particular day of the month

timestamp: 15-minute intervals

demand: aggregated demand normalized with values from 0 to 1

Exploratory Data Analysis

We can make the following assumptions and draw some conclusions from them about the trends in data:

  • From the demand by day graphs, it is obvious that the demands are increasing in every five days and then we could notice the low demand in the following two days.
  • From the demand by location (latitude and longitude) graphs, the southern and central locations have high demand.
  • An interesting issue is that most of the coordinates lie in the Indian ocean.

Feature Engineering

cyclic-numeric-feature-transformation

  • I grouped the entire dataset by time (binned into quarter hours).
  • I also added additional features based on the time and day of the week.
  • These features are transformed into sine and cosine forms for catching the relationship in cyclic numerical features.

Machine Learning Approach

  • Random Forest regression The results show that the ability of the Random Forest algorithm is to capture the complexities in the features, especially latitude and longitude

Further improvements

For further improvement, Apache Spark can be used as Spark clusters for high-performance models.

grab_ai's People

Contributors

enginbozkurt avatar

Stargazers

 avatar

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.