Giter Site home page Giter Site logo

e-sense-har's Introduction


ESENSE HAR REPO

This repository contains code for Human Activity Recognition (HAR) using the ESENSE wearable sensor. We use two different methods to validate our models: Leave-One-Out cross-validation and Random Split.

Requirements

  • Python 3.x
  • Scikit-learn
  • NumPy
  • pandas

Dataset

We use the Dataset for Leave-One-Out cross-validation and my-data for random-split for Human Activity Recognition.

Methodology

We use the following two methods for model validation:

Leave-One-Out Cross-Validation

In this method, we use all but one of the data instances to train our model, then validate the model on the left out data instance. This process is repeated such that each data instance is used exactly once for validation.

Random Split

In this method, we randomly split our data into a training set and a test set. The model is trained on the training set, and validated on the test set.

Results

The performance of our model was as follows:

  • [INFO]: Performance metrics when using Leave-One-Out Cross-Validation

  • RANDOM FOREST

  • image

  • SUPPORT VECTOR

  • image

  • MLP CLASSIFIER

  • image

  • LOGISTIC REGRESSION

  • image

  • [INFO]: Performance metrics when using Random Split

    • RANDOM FOREST
  • image

  • image

  • SUPPORT VECTOR

-image

-image

  • MLP CLASSIFIER

  • image

  • image

  • LOGISTIC REGRESSION

  • image

  • image


e-sense-har's People

Contributors

sheral123 avatar

Watchers

 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.