Code Monkey home page Code Monkey logo

kaggle-driver-telematics's Introduction

This is my code for the AXA Driver Telematics challenge on Kaggle [1]. A high level description of my approach is available on my blog [2].

Code overview:

  • bow.py - segments the trips using the RDP algorithm
  • data_access.py - wrapper for reading trip data
  • ensemble.py - code for training the ensemble, performing local testing and generating a submission:
    • do local testing: python ensemble.py weights 1 s
    • generate submission: python ensemble.py submit 1
  • heading.py - segment a trip using the heading approach
  • main.py - run an individual model for local testing
  • model_def.py - library with all the ML algorithms used
  • model_run.py - contains all the functions that fetch the data (using data_access.py), preprocess it (using util.py), apply a ML algorithm (using model_def.py) and return results
  • rdp_alg.py - the RDP algorithm
  • settings.py
  • util.py - preprocessing data, feature extraction
  • weights.py - contains all (or most of) the models tested (MODELS), as well as the final ensemble (STACK) and the weights needed for blending

The code is for educational purposes only, so expect to get your hands dirty if you play with it.

[1] https://www.kaggle.com/c/axa-driver-telematics-analysis [2] http://webmining.olariu.org/kaggle-driver-telematics/

kaggle-driver-telematics's People

Contributors

andreiolariu avatar

Watchers

James Cloos avatar Jonathan Andrade 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.