Feature set (Intermediate feature files)

Inside the data/featureset or data/pkl folder, you won’t find any files in this folder until you run the codes. Files in data/featureset folder are in .csv format and files in data/pkl folder are in binary format .pkl. Both will share the same filename and have the same content/values once loaded in the program.

[session name]_[feature set type].[window size].[data type].csv
[session name]_[feature set type].[window size].[data type].pkl

There will be two data types: one is for feature vector (.data.csv or .data.pkl) and the other is for class label (.class.csv or .class.pkl). They are associated with each other.

For example, session1_BFW.40.data.csv represents feature vectors for session 1 and the features are computed with data from both wrists and with window size of 40 samples (which is 1s under 40 Hz sampling rate).

As another example, session_all_DW.600.class.csv represents class labels for all sessions and the corresponding .data.csv is computed with dominant wrist accelerometer data with window size 600 samples (which is 15s under 40 Hz sampling rate).

Feature vector file format

There will be a header row. The first column is the index of current segment (start from 0). And the rest columns are different features. It’s easy to understand the meaning through the names, or you may refer to the documentation of the source codes.

Class label file format

There will be a header row with all necessary or unnecessary columns, you can choose to use any of them.

Last updated