healthDataScience/deep-learning-HAR
关于
使用卷积网络和 LSTM 网络对人类活动进行分类
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Human Activity Recognition (HAR)
In this part of the repo, we discuss the human activity recognition problem using deep learning algorithms and compare the results with standard machine learning algorithms that use engineered features.
The data can be downloaded from the UCI repository.
Also see G.Chevalier's repo and A. Saeed's blog where I have got lots of inspiration.
Contents
The utils folder contains the code for reading and processing the data into a tensor form. The generated tensors
have the dimensions
(batch, seq_len, n_channels)
where batch is the number of training examples in each batch, seq_len is the number of steps in the time series (128) and
n_channels is the number of channels where observations are made (9).
The aim is to clasify the activities correctly, which are
1 WALKING
2 WALKING_UPSTAIRS
3 WALKING_DOWNSTAIRS
4 SITTING
5 STANDING
6 LAYING
Below are the architectures used for training
| Notebook | Description |
|---|---|
| explore_data | Data exploration |
| HAR-LSTM | LSTM network |
| HAR-CNN | Convolutional neural network(CNN) |
| HAR-CNN-LSTM | CNN + LSTM hybrid |
| HAR-CNN-Inception | CNN with inception module |
Results
| Method | Test accuracy |
|---|---|
| CNN | 93% |
| LSTM | 88% |
| CNN+LSTM | 88% |
| CNN+Inception | 89% |
| Xgboost | 96% |
CNN architecture

LSTM architecture

探索相关项目
加载中…