-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from enricobu96/feature/add-metrics
Feature/add metrics
- Loading branch information
Showing
51 changed files
with
310 additions
and
20 deletions.
There are no files selected for viewing
Binary file added
BIN
+42.4 KB
extra/test_reports/Final/APE mediapipe/Confusion matrices/conf_matrix_lr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+41.3 KB
extra/test_reports/Final/APE mediapipe/Confusion matrices/conf_matrix_mlp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+42.4 KB
extra/test_reports/Final/APE mediapipe/Confusion matrices/conf_matrix_rc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+36.2 KB
extra/test_reports/Final/APE mediapipe/Confusion matrices/conf_matrix_rf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35 KB
extra/test_reports/Final/APE mediapipe/Confusion matrices/conf_matrix_svm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.1 KB
extra/test_reports/Final/APE mediapipe/Learning curves/learning_lr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.7 KB
extra/test_reports/Final/APE mediapipe/Learning curves/learning_mlp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.8 KB
extra/test_reports/Final/APE mediapipe/Learning curves/learning_rc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+53.2 KB
extra/test_reports/Final/APE mediapipe/Learning curves/learning_rf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.9 KB
extra/test_reports/Final/APE mediapipe/Learning curves/learning_svm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
lr | ||
|
||
precision recall f1-score support | ||
|
||
balc 0.59 0.67 0.63 873 | ||
bend 0.52 0.65 0.58 1236 | ||
boxx 0.93 0.79 0.85 1059 | ||
clap 0.77 0.67 0.72 921 | ||
marc 0.88 0.64 0.74 799 | ||
onew 0.75 0.88 0.81 918 | ||
wave 0.64 0.59 0.62 1160 | ||
|
||
accuracy 0.70 6966 | ||
macro avg 0.72 0.70 0.71 6966 | ||
weighted avg 0.72 0.70 0.70 6966 | ||
|
||
rc | ||
|
||
precision recall f1-score support | ||
|
||
balc 0.64 0.64 0.64 873 | ||
bend 0.51 0.68 0.58 1236 | ||
boxx 0.89 0.81 0.85 1059 | ||
clap 0.79 0.66 0.72 921 | ||
marc 0.85 0.59 0.70 799 | ||
onew 0.78 0.92 0.85 918 | ||
wave 0.66 0.60 0.63 1160 | ||
|
||
accuracy 0.70 6966 | ||
macro avg 0.73 0.70 0.71 6966 | ||
weighted avg 0.72 0.70 0.70 6966 | ||
|
||
rf | ||
|
||
precision recall f1-score support | ||
|
||
balc 0.76 0.79 0.78 873 | ||
bend 0.86 0.71 0.78 1236 | ||
boxx 1.00 0.89 0.94 1059 | ||
clap 0.76 0.94 0.84 921 | ||
marc 0.93 0.69 0.79 799 | ||
onew 0.78 0.99 0.87 918 | ||
wave 0.77 0.79 0.78 1160 | ||
|
||
accuracy 0.83 6966 | ||
macro avg 0.84 0.83 0.83 6966 | ||
weighted avg 0.84 0.83 0.82 6966 | ||
|
||
svm | ||
|
||
precision recall f1-score support | ||
|
||
balc 0.79 0.71 0.75 873 | ||
bend 0.86 0.77 0.82 1236 | ||
boxx 0.97 1.00 0.98 1059 | ||
clap 0.92 0.97 0.95 921 | ||
marc 0.78 0.81 0.80 799 | ||
onew 0.98 1.00 0.99 918 | ||
wave 0.77 0.82 0.79 1160 | ||
|
||
accuracy 0.87 6966 | ||
macro avg 0.87 0.87 0.87 6966 | ||
weighted avg 0.87 0.87 0.87 6966 | ||
|
||
mlp | ||
|
||
precision recall f1-score support | ||
|
||
balc 0.50 0.66 0.57 873 | ||
bend 0.61 0.58 0.59 1236 | ||
boxx 0.95 0.84 0.89 1059 | ||
clap 0.79 0.71 0.74 921 | ||
marc 0.78 0.68 0.73 799 | ||
onew 0.74 0.90 0.81 918 | ||
wave 0.68 0.62 0.65 1160 | ||
|
||
accuracy 0.71 6966 | ||
macro avg 0.72 0.71 0.71 6966 | ||
weighted avg 0.72 0.71 0.71 6966 | ||
|
Binary file added
BIN
+33.4 KB
...st_reports/Final/Custom dataset mediapipe/Confusion matrices/conf_matrix_lr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.8 KB
...t_reports/Final/Custom dataset mediapipe/Confusion matrices/conf_matrix_mlp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.5 KB
...st_reports/Final/Custom dataset mediapipe/Confusion matrices/conf_matrix_rc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.8 KB
...st_reports/Final/Custom dataset mediapipe/Confusion matrices/conf_matrix_rf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+36.7 KB
...t_reports/Final/Custom dataset mediapipe/Confusion matrices/conf_matrix_svm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.8 KB
extra/test_reports/Final/Custom dataset mediapipe/Learning curves/learning_lr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.4 KB
extra/test_reports/Final/Custom dataset mediapipe/Learning curves/learning_mlp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.5 KB
extra/test_reports/Final/Custom dataset mediapipe/Learning curves/learning_rc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.9 KB
extra/test_reports/Final/Custom dataset mediapipe/Learning curves/learning_rf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+38.5 KB
extra/test_reports/Final/Custom dataset mediapipe/Learning curves/learning_svm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 80 additions & 0 deletions
80
extra/test_reports/Final/Custom dataset mediapipe/test_reports.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
lr | ||
|
||
precision recall f1-score support | ||
|
||
dab 1.00 0.98 0.99 1351 | ||
l_arm_mid 0.84 0.90 0.87 1314 | ||
l_arm_top 0.97 0.93 0.95 1293 | ||
r_arm_mid 0.97 0.98 0.97 1385 | ||
r_arm_top 0.97 0.99 0.98 1315 | ||
steady 0.89 0.88 0.89 1327 | ||
tpose 0.99 0.95 0.97 1282 | ||
|
||
accuracy 0.95 9267 | ||
macro avg 0.95 0.95 0.95 9267 | ||
weighted avg 0.95 0.95 0.95 9267 | ||
|
||
rc | ||
|
||
precision recall f1-score support | ||
|
||
dab 0.99 0.97 0.98 1351 | ||
l_arm_mid 0.78 0.92 0.84 1314 | ||
l_arm_top 0.96 0.93 0.95 1293 | ||
r_arm_mid 0.96 0.99 0.98 1385 | ||
r_arm_top 0.97 0.99 0.98 1315 | ||
steady 0.92 0.79 0.85 1327 | ||
tpose 0.99 0.95 0.97 1282 | ||
|
||
accuracy 0.94 9267 | ||
macro avg 0.94 0.94 0.94 9267 | ||
weighted avg 0.94 0.94 0.94 9267 | ||
|
||
rf | ||
|
||
precision recall f1-score support | ||
|
||
dab 0.97 0.88 0.92 1351 | ||
l_arm_mid 0.95 0.78 0.86 1314 | ||
l_arm_top 0.81 0.96 0.88 1293 | ||
r_arm_mid 0.99 0.94 0.96 1385 | ||
r_arm_top 0.93 0.99 0.96 1315 | ||
steady 0.99 1.00 0.99 1327 | ||
tpose 0.90 0.97 0.94 1282 | ||
|
||
accuracy 0.93 9267 | ||
macro avg 0.94 0.93 0.93 9267 | ||
weighted avg 0.94 0.93 0.93 9267 | ||
|
||
svm | ||
|
||
precision recall f1-score support | ||
|
||
dab 0.91 0.78 0.84 1351 | ||
l_arm_mid 0.72 0.75 0.74 1314 | ||
l_arm_top 0.96 0.95 0.96 1293 | ||
r_arm_mid 0.89 0.99 0.94 1385 | ||
r_arm_top 0.97 0.98 0.98 1315 | ||
steady 0.84 0.69 0.76 1327 | ||
tpose 0.68 0.79 0.73 1282 | ||
|
||
accuracy 0.85 9267 | ||
macro avg 0.85 0.85 0.85 9267 | ||
weighted avg 0.85 0.85 0.85 9267 | ||
|
||
mlp | ||
|
||
precision recall f1-score support | ||
|
||
dab 0.99 0.98 0.99 1351 | ||
l_arm_mid 0.95 0.95 0.95 1314 | ||
l_arm_top 0.97 0.98 0.98 1293 | ||
r_arm_mid 0.99 0.98 0.99 1385 | ||
r_arm_top 1.00 1.00 1.00 1315 | ||
steady 0.94 0.97 0.95 1327 | ||
tpose 0.98 0.95 0.97 1282 | ||
|
||
accuracy 0.97 9267 | ||
macro avg 0.97 0.97 0.97 9267 | ||
weighted avg 0.97 0.97 0.97 9267 | ||
|
Binary file added
BIN
+29.4 KB
extra/test_reports/Final/Custom dataset nite/Confusion matrices/conf_matrix_lr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.2 KB
...a/test_reports/Final/Custom dataset nite/Confusion matrices/conf_matrix_mlp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.4 KB
extra/test_reports/Final/Custom dataset nite/Confusion matrices/conf_matrix_rc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.2 KB
extra/test_reports/Final/Custom dataset nite/Confusion matrices/conf_matrix_rf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.3 KB
...a/test_reports/Final/Custom dataset nite/Confusion matrices/conf_matrix_svm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.9 KB
extra/test_reports/Final/Custom dataset nite/Learning curves/learning_lr.png
Oops, something went wrong.
Binary file added
BIN
+41.8 KB
extra/test_reports/Final/Custom dataset nite/Learning curves/learning_mlp.png
Oops, something went wrong.
Binary file added
BIN
+29.8 KB
extra/test_reports/Final/Custom dataset nite/Learning curves/learning_rc.png
Oops, something went wrong.
Binary file added
BIN
+33.2 KB
extra/test_reports/Final/Custom dataset nite/Learning curves/learning_rf.png
Oops, something went wrong.
Binary file added
BIN
+32.1 KB
extra/test_reports/Final/Custom dataset nite/Learning curves/learning_svm.png
Oops, something went wrong.
80 changes: 80 additions & 0 deletions
80
extra/test_reports/Final/Custom dataset nite/test_reports.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
lr | ||
|
||
precision recall f1-score support | ||
|
||
dab 0.88 0.85 0.86 500 | ||
l_arm_mid 1.00 1.00 1.00 438 | ||
l_arm_top 0.90 0.66 0.76 326 | ||
r_arm_mid 0.85 0.98 0.91 373 | ||
r_arm_top 0.99 0.91 0.95 338 | ||
steady 0.83 0.94 0.88 622 | ||
tpose 1.00 0.99 0.99 385 | ||
|
||
accuracy 0.91 2982 | ||
macro avg 0.92 0.90 0.91 2982 | ||
weighted avg 0.91 0.91 0.91 2982 | ||
|
||
rc | ||
|
||
precision recall f1-score support | ||
|
||
dab 0.90 0.55 0.68 500 | ||
l_arm_mid 0.98 0.97 0.98 438 | ||
l_arm_top 0.90 0.22 0.36 326 | ||
r_arm_mid 0.79 0.97 0.87 373 | ||
r_arm_top 0.73 0.96 0.83 338 | ||
steady 0.69 0.97 0.81 622 | ||
tpose 0.99 0.99 0.99 385 | ||
|
||
accuracy 0.82 2982 | ||
macro avg 0.86 0.81 0.79 2982 | ||
weighted avg 0.85 0.82 0.80 2982 | ||
|
||
rf | ||
|
||
precision recall f1-score support | ||
|
||
dab 0.94 1.00 0.97 500 | ||
l_arm_mid 0.98 0.99 0.99 438 | ||
l_arm_top 1.00 0.92 0.96 326 | ||
r_arm_mid 1.00 0.98 0.99 373 | ||
r_arm_top 1.00 1.00 1.00 338 | ||
steady 0.95 1.00 0.97 622 | ||
tpose 1.00 0.92 0.96 385 | ||
|
||
accuracy 0.98 2982 | ||
macro avg 0.98 0.97 0.98 2982 | ||
weighted avg 0.98 0.98 0.98 2982 | ||
|
||
svm | ||
|
||
precision recall f1-score support | ||
|
||
dab 0.83 0.42 0.56 500 | ||
l_arm_mid 1.00 0.98 0.99 438 | ||
l_arm_top 0.43 0.36 0.39 326 | ||
r_arm_mid 0.71 0.96 0.81 373 | ||
r_arm_top 0.79 0.99 0.88 338 | ||
steady 0.69 0.73 0.71 622 | ||
tpose 0.87 0.98 0.92 385 | ||
|
||
accuracy 0.76 2982 | ||
macro avg 0.76 0.77 0.75 2982 | ||
weighted avg 0.77 0.76 0.75 2982 | ||
|
||
mlp | ||
|
||
precision recall f1-score support | ||
|
||
dab 0.91 0.90 0.91 500 | ||
l_arm_mid 1.00 0.98 0.99 438 | ||
l_arm_top 0.00 0.00 0.00 326 | ||
r_arm_mid 0.92 0.91 0.92 373 | ||
r_arm_top 0.96 0.91 0.93 338 | ||
steady 0.62 0.98 0.76 622 | ||
tpose 0.99 0.99 0.99 385 | ||
|
||
accuracy 0.85 2982 | ||
macro avg 0.77 0.81 0.79 2982 | ||
weighted avg 0.78 0.85 0.81 2982 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ class Classifications(Enum): | |
rf = 3 | ||
gb = 4 | ||
svm = 5 | ||
cnn = 6 | ||
mlp = 6 | ||
|
||
def main(args): | ||
|
||
|
Binary file modified
BIN
+0 Bytes
(100%)
model/kinect_depth/prediction_models/prediction_model_lr.pkl
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
model/kinect_depth/prediction_models/prediction_model_rc.pkl
Binary file not shown.
Binary file modified
BIN
-572 KB
(9.7%)
model/kinect_depth/prediction_models/prediction_model_rf.pkl
Binary file not shown.
Binary file modified
BIN
+1.22 MB
(1100%)
model/kinect_depth/prediction_models/prediction_model_svm.pkl
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file modified
BIN
-256 Bytes
(100%)
model/mediapipe/prediction_models/prediction_model_gb.pkl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.