Git Product home page Git Product logo

human-action-recognition's Introduction

Human-Activity-Recognition

This project is doing an analysis with R for "Human Activity Recognition Using Data set".

About Data Set

Whole data set comes from kaggle-gpu-images

For more explanation,please read "README.txt" and "features_info.txt" in the package of the data set.

Project Tasks

1: Load the data in RStudio

2: Merge data sets Merge the training and the test sets to create one data set.

3: Mean and standard deviation Create two new columns, containing the mean and standard deviation for each measurement respectively.

4: Add new variables Create variables called ActivityLabel and ActivityName that label all observations with the corresponding activity labels and names respectively

5: Create tidy data set From the data set in step 4, creates a second, independent tidy data set with the average of each variable for each activity and each subject.

Data Processing

1.For detail of data processing procedure,please read "CodeBook.md".

2.Some explanations for the data manipulation methods

  • In merging section,I used a new column "train_test" as an identifier in all new merged dataframes.Then people still can identify which data record comes from train or from test.
  • Subject_all,y_all and xdata_all will finally merge together to form into a new dataframe "subject_activity_features_all",which can be used to create a tidy dataframe for task 5.So I just put "train_test" column into y_train and y_test.
  • For measurement data files such as "body_acc_x_train.txt",I add "train_test" column into related dataframes when I read thme into R.
  • For task 3, I used related feature variables in xall_data to generate two columns of the mean and standard deviation for two kinds of dataframe:the body acceleration signal and the angular velocity vector. I did not find related features in xall_data for the total acceleration signal. *To do task 4,I create a new column "activity_name" for y_all,and merge subject_all,y_all and xdata_all into subject_activity_features_all. *To generate a tidy dataframe,I used aggregate function on subject_activity_features_all to create a tidy data set:tidy_data,and write it to a output .csv file"tidy_data.csv".

human-action-recognition's People

Contributors

iliih avatar

Watchers

 avatar

human-action-recognition's Issues

HAR-6 Train the model

Train the model using the training dataset. Adjust hyperparameters such as learning rate, batch size, and optimizer choice (e.g., Adam, SGD) to optimize performance.

HAR-5 Define appropriate loss functions

Define appropriate loss functions and evaluation metrics for the task of action recognition. Common choices include categorical cross-entropy loss and accuracy.

HAR-11 Deployment

11.1 Once satisfied with the model's performance, deploy it in a production environment. This may involve packaging the model using frameworks like plumber or Shiny for serving APIs or building web applications.

11.2 Continuously monitor and update the deployed model to maintain optimal performance over time.

HAR-9 Analyze model

Analyze model errors and misclassifications to identify areas for improvement.

HAR-10 Fine-tuning and Optimization

10.1 Experiment with different model architectures, hyperparameters, and training strategies to improve performance.

10.2 Consider techniques like transfer learning, where pre-trained models on large datasets (e.g., ImageNet) are fine-tuned for the task of action recognition.

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.