Giter Club home page Giter Club logo

tmd_energy_savings's Introduction

Transportation Mode Detection

This repository includes transportation mode detection with unconstrained smartphones sensors using various Machine learning algorithms.

Dataset

Dataset is based on the thirteen users who collected the data during their daily activities. The dataset includes all sensors available in phones and distinguishes five transportation modes: being on a car, on a bus, on a train, standing still and walking.

Sensors included in the dataset are:

  • Accelerometer
  • Sound
  • Orientation
  • Linear acceleration
  • Speed
  • Gyroscope
  • Rotation vector
  • Game rotation vector
  • Gyroscope uncalibrated

Dataset link https://www.kaggle.com/fschwartzer/tmd-dataset-5-seconds-sliding-window

Model Training

The following classification models are used:

  • Random Forest
  • lightGBM
  • Gradient Boosting Classifier
  • KNN
  • Naivye Bayes
  • SVC
  • xgboost

Results

Model Accuracy
Random Forest 0.945
lightGBM 0.851
Gradient Boosting Classifier 0.963
KNN 0.821
Naivye Bayes 0.586
SVC 0.745
xgboost 0.973

Conclusion

Out of all the algorithms used, xgboost gives the best accuracy of 0.9737.

Good Luck!

tmd_energy_savings's People

Contributors

deveshsangwan avatar arnavbalyan 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.