Coder Social home page Coder Social logo

destination-point-estimation's Introduction

Destination Point Estimation: A Naive Bayes Based Approach

Estimating the destination point or the intended travel destination is imperative for an improved passenger-vehicle experience. For example, this feature helps in improving power train efficiencies and electric range estimations. It can also help with focused content through targeted ads, or assist with road hazard alerts that enable preemptive situation mitigation. In this work, we present a Naive Bayes Model based approach that learns from driving history. The model utilizes only few features such as time and current location to predict the destination point. To mitigate the passengers' behavioral changes, we add an evaporation rate factor so that older recordings have less influence on the model than newer ones. The evaporation rate also allows for a more evolved model that avoids getting stuck in local minimums. Results show that with less than 100 recordings we are able to successfully predict more than 85% of the travel destination points even with the incorporation of passengers' habitual changes.

Getting Started

This repo includes sample training and test datasets as well as the code required to reproduce the results obtained in the accompanying paper.

Prerequisites

Running the code

To run the code save DestinationPointEstimation.py, Utils.py, TestData.csv, and TrainData.csv in the same directory and run DestinationPointEstimation.py in your preferred python environment. Once it is running you will see iteration and accuracy results printed to the console.

Iteration  1 / 216 Accuracy is:  0.28
Iteration  2 / 216 Accuracy is:  0.3
...

Upon completion you will get a plot reflecting the final accuracy results per iteration (image cannot be added in anonymous mode).

results plot

destination-point-estimation's People

Contributors

rbboimer avatar

Stargazers

 avatar Rami Sleeman avatar

Forkers

ramisleeman

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.