xgboostgod commited on
Commit
c492eec
·
verified ·
1 Parent(s): 662f3d7

Update dataset card to English documentation

Browse files
Files changed (1) hide show
  1. README.md +68 -24
README.md CHANGED
@@ -8,6 +8,8 @@ tags:
8
  - core-exercises
9
  - physical-therapy
10
  - xgboost
 
 
11
  size_categories:
12
  - 1K<n<10K
13
  configs:
@@ -17,40 +19,82 @@ configs:
17
  path: data.csv
18
  ---
19
 
20
- # CoreExercise5K Dataset
21
 
22
- Bu veri seti, **Makine Öğrenmesi Tabanlı Core Egzersiz Denetim Sistemi** projesinde MediaPipe Pose Estimation modeli kullanılarak çıkarılmış 3 boyutlu eklem koordinatları ve açı özniteliklerini içermektedir.
23
 
24
- ## 📊 Veri Seti Detayları
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
- - **Orijinal Görsel Sayısı:** 920 adet kare
27
- - **Veri Artırma (Data Augmentation):** 6 varyasyon (orijinal, +15° rotasyon, -15° rotasyon, yatay aynalama, aynalanmış +15°, aynalanmış -15°) $\rightarrow$ Teorik $920 \times 6 = 5,520$ kare
28
- - **Tespit Edilen Geçerli Landmark Sayısı:** MediaPipe eklem tespiti yapabilen net **5,016** örnek (satır)
29
- - **Öznitelik Sayısı:** 108 sütun (33 MediaPipe vücut landmark x, y, z koordinatları ve türetilmiş açı özellikleri)
30
- - **Hedef Sınıf (`label`):** 9 sınıf
31
 
32
- ### Sınıf Dağılımı
33
 
34
- | Egzersiz Sınıfı | Örnek Sayısı |
35
- | :--- | :--- |
36
- | **Bird Dog** | 965 |
37
- | **Plank** | 830 |
38
- | **High Plank** | 579 |
39
- | **Dead Bug** | 492 |
40
- | **Glute Bridge** | 479 |
41
- | **Side Plank** | 416 |
42
- | **Dart** | 357 |
43
- | **Knee Plank** | 276 |
44
- | **None (Nötr)** | 622 |
45
- | **Toplam** | **5,016** |
46
 
47
- ## 🚀 Kullanım
48
 
49
  ```python
50
  from datasets import load_dataset
51
 
 
52
  dataset = load_dataset("xgboostgod/CoreExercise5K")
53
  df = dataset["train"].to_pandas()
54
- print(df.shape)
55
- # (5016, 108)
 
56
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  - core-exercises
9
  - physical-therapy
10
  - xgboost
11
+ - biomechanics
12
+ - rehabilitation
13
  size_categories:
14
  - 1K<n<10K
15
  configs:
 
19
  path: data.csv
20
  ---
21
 
22
+ # CoreExercise5K: A Machine Learning Dataset for Core Exercise Assessment
23
 
24
+ **CoreExercise5K** is a tabular dataset composed of 3D skeletal landmark coordinates and joint angles extracted using MediaPipe Pose. It was curated for machine-learning-based physical therapy and real-time core exercise posture auditing.
25
 
26
+ ---
27
+
28
+ ## 📌 Dataset Overview
29
+
30
+ - **Total Samples:** 5,016 rows
31
+ - **Number of Features:** 108 columns (33 MediaPipe pose landmarks $\times$ $x, y, z$ coordinates + derived joint angle attributes)
32
+ - **Target Variable (`label`):** 9 classes (8 core exercise movements + neutral/none)
33
+ - **Modality:** Tabular / Skeletal Landmarks (Normalized 3D coordinates)
34
+
35
+ ---
36
+
37
+ ## 🏋️‍♂️ Class Distribution
38
+
39
+ | Exercise Class | Sample Count | Percentage |
40
+ | :--- | :--- | :--- |
41
+ | **Bird Dog** | 965 | 19.24% |
42
+ | **Plank** | 830 | 16.55% |
43
+ | **None (Neutral / Inactive)** | 622 | 12.40% |
44
+ | **High Plank** | 579 | 11.54% |
45
+ | **Dead Bug** | 492 | 9.81% |
46
+ | **Glute Bridge** | 479 | 9.55% |
47
+ | **Side Plank** | 416 | 8.29% |
48
+ | **Dart** | 357 | 7.12% |
49
+ | **Knee Plank** | 276 | 5.50% |
50
+ | **Total** | **5,016** | **100%** |
51
+
52
+ ---
53
+
54
+ ## 🔬 Data Collection & Preprocessing
55
+
56
+ 1. **Raw Frame Acquisition:** 920 high-quality frames across diverse subjects performing physiotherapy core exercises were curated.
57
+ 2. **Data Augmentation:** An augmentation pipeline applied 6 transformations to each frame:
58
+ - Original frame
59
+ - $+15^\circ$ rotation
60
+ - $-15^\circ$ rotation
61
+ - Horizontal flip
62
+ - Flipped with $+15^\circ$ rotation
63
+ - Flipped with $-15^\circ$ rotation
64
+ *(Yielding a theoretical maximum of $920 \times 6 = 5,520$ frames)*
65
+ 3. **Landmark Detection & Quality Filtering:** Each augmented frame was passed through the **MediaPipe Pose** model. Frames with occlusions or missing keypoints where MediaPipe failed detection were filtered out, resulting in **5,016 clean, fully labeled keypoint vectors**.
66
 
67
+ ---
 
 
 
 
68
 
69
+ ## 💻 Getting Started
70
 
71
+ You can load this dataset easily with the Hugging Face `datasets` library or directly with pandas:
 
 
 
 
 
 
 
 
 
 
 
72
 
73
+ ### Using Hugging Face Datasets
74
 
75
  ```python
76
  from datasets import load_dataset
77
 
78
+ # Load dataset
79
  dataset = load_dataset("xgboostgod/CoreExercise5K")
80
  df = dataset["train"].to_pandas()
81
+
82
+ print(f"Dataset shape: {df.shape}")
83
+ print(df["label"].value_counts())
84
  ```
85
+
86
+ ### Using Pandas Directly
87
+
88
+ ```python
89
+ import pandas as pd
90
+
91
+ url = "https://huggingface.co/datasets/xgboostgod/CoreExercise5K/resolve/main/data.csv"
92
+ df = pd.read_csv(url)
93
+ print(df.head())
94
+ ```
95
+
96
+ ---
97
+
98
+ ## 📜 License
99
+
100
+ This dataset is released under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).