sha-ce commited on
Commit
69043a7
·
verified ·
1 Parent(s): 04e1818

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +67 -8
README.md CHANGED
@@ -1,12 +1,71 @@
1
- We provide preprocessed datasets on Hugging Face based on the original datasets from [SSL-Wearables](https://github.com/OxWearables/ssl-wearables).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  Please refer to the SSL-Wearables repository for the original data sources ([here](https://zenodo.org/records/6574265#.YovCMi8w1qs)).
3
 
4
- Download the datasets using the script below:
5
- ```bash
6
- hf download sha-ce/SensorData --repo-type dataset --local-dir .
7
- ```
8
 
 
 
 
9
 
10
- ---
11
- license: cc-by-4.0
12
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - Self-Supervised Learning
5
+ - Human-Activity-Recognition
6
+ - Text-to-Signal Generation
7
+ tags:
8
+ - sensors
9
+ - time-series
10
+ - human-activity-recognition
11
+ - wearable
12
+ - imu
13
+ - accelerometer
14
+ pretty_name: SensorData
15
+ size_categories:
16
+ - 100M<n<1G
17
+ ---
18
+
19
+ # SensorData for Human Activity Recognition (HAR)
20
+ This repository contains pre-processed sensor datasets based on the original datasets from [SSL-Wearables](https://github.com/OxWearables/ssl-wearables).
21
  Please refer to the SSL-Wearables repository for the original data sources ([here](https://zenodo.org/records/6574265#.YovCMi8w1qs)).
22
 
23
+ ## Dataset Description
24
+ The collection includes several widely used datasets in the field of ubiquitous computing and wearable sensing.
25
+ These datasets have been pre-processed to align with the experimental settings of recent state-of-the-art methods.
 
26
 
27
+ - **Repository:** [sha-ce/SensorData](https://huggingface.co/datasets/sha-ce/SensorData)
28
+ - **Paper:** (paper url)
29
+ - **Point of Contact:** (Name/Email)
30
 
31
+ ### Supported Tasks
32
+ - **Human Activity Recognition (HAR):** Classification of human activities based on wearable sensor data (accelerometer).
33
+ - **Text-to-Signal Generation:** Evaluating generative models on sensor data.
34
+
35
+
36
+ ## Included Datasets
37
+ Based on the benchmarks, this repository includes data from the following sources:
38
+
39
+ 1. **ADL (MotionSense/MobiAct):** Activities of Daily Living recorded from smartphone sensors.
40
+ 2. **Opportunity:** Activities of daily living recorded in a sensor-rich environment, focusing on gestures and object interactions.
41
+ 3. **PAMAP2:** Physical Activity Monitoring dataset containing data from 9 subjects performing 18 different physical activities.
42
+ 4. **RealWorld (HAR):** Acceleration data collected from smartphones/wearables in realistic settings.
43
+ 5. **WISDM:** Wireless Sensor Data Mining dataset containing accelerometer data for activity recognition.
44
+
45
+ ## Dataset Structure
46
+
47
+ ### Data Format
48
+ The data is likely stored in `.npy`, or `.npz` formats.
49
+
50
+ - **Input Features:** Multi-channel time-series data (e.g., 3-axis accelerometer).
51
+ - **Labels:** Integer class labels corresponding to specific activities (e.g., Walking, Running, Sitting).
52
+
53
+ ### Usage
54
+
55
+ You can download the files directly or use the Hugging Face `huggingface_hub` library to download specific datasets.
56
+
57
+ ```python
58
+ from huggingface_hub import hf_hub_download
59
+ import numpy as np
60
+
61
+ # Example: Downloading PAMAP2 data
62
+ file_path = hf_hub_download(repo_id="sha-ce/SensorData", filename="pamap2.npz") # Adjust filename
63
+ data = np.load(file_path)
64
+
65
+ print(data.files)
66
+ # Output might be: ['x_train', 'y_train', 'x_test', 'y_test']
67
+ ```
68
+ or
69
+ ```bash
70
+ hf download sha-ce/SensorData --repo-type dataset --local-dir .
71
+ ```