MicheleM commited on
Commit
45a20ad
·
1 Parent(s): fd41059

readme fixed

Browse files
Files changed (1) hide show
  1. README.md +23 -13
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  # Human Activity Recognition with LSTM
2
 
3
  ## Overview
@@ -11,29 +21,29 @@ The model is trained on the **UCI HAR Dataset**, a widely used benchmark dataset
11
  Below are the precision, recall, and F1-score for each activity class:
12
 
13
 
14
- precision recall f1-score support
 
15
 
16
- Class 0 0.92 0.98 0.95 496
17
- Class 1 0.95 0.91 0.93 471
18
- Class 2 0.98 0.95 0.96 420
19
- Class 3 0.92 0.94 0.93 491
20
- Class 4 0.94 0.93 0.94 532
21
- Class 5 1.00 0.99 1.00 537
22
 
23
- accuracy 0.95 2947
 
 
24
 
25
- macro avg 0.95 0.95 0.95 2947 weighted avg 0.95 0.95 0.95 2947
26
 
27
  ### Confusion Matrix
28
  The confusion matrix below visualizes the model's performance in classifying different activities:
29
 
30
- ![Confusion Matrix](https://huggingface.co/MicS2/Human-Activity-Recognition/Figure_1.png)
31
 
32
  ## Next Steps
33
  - Improve the model with **GRU & CNN architectures**.
34
  - Expand testing with **real-world sensor data**.
35
  - Fine-tune hyperparameters for better generalization.
36
 
37
- ---
38
- license: mit
39
- ---
 
1
+ ---
2
+ tags:
3
+ - deep-learning
4
+ - lstm
5
+ - human-activity-recognition
6
+ - sensor-data
7
+ license: mit
8
+ library_name: keras
9
+ ---
10
+
11
  # Human Activity Recognition with LSTM
12
 
13
  ## Overview
 
21
  Below are the precision, recall, and F1-score for each activity class:
22
 
23
 
24
+ ```plaintext
25
+ precision recall f1-score support
26
 
27
+ Class 0 0.92 0.98 0.95 496
28
+ Class 1 0.95 0.91 0.93 471
29
+ Class 2 0.98 0.95 0.96 420
30
+ Class 3 0.92 0.94 0.93 491
31
+ Class 4 0.94 0.93 0.94 532
32
+ Class 5 1.00 0.99 1.00 537
33
 
34
+ accuracy 0.95 2947
35
+ macro avg 0.95 0.95 0.95 2947
36
+ weighted avg 0.95 0.95 0.95 2947
37
 
38
+ ```
39
 
40
  ### Confusion Matrix
41
  The confusion matrix below visualizes the model's performance in classifying different activities:
42
 
43
+ ![Confusion Matrix](https://huggingface.co/Mic52/Human-Activity-Recognition/resolve/main/Figure_1.png)
44
 
45
  ## Next Steps
46
  - Improve the model with **GRU & CNN architectures**.
47
  - Expand testing with **real-world sensor data**.
48
  - Fine-tune hyperparameters for better generalization.
49