Skip to main content
. 2020 Oct 23;20(21):6031. doi: 10.3390/s20216031
Algorithm 1 Procedure to extract features from the dataset
Step 1. Start a loop up to the total number of data sample files. For each loop feature will be extracted and will be stored as a row of records.
Step 2. Trim the loaded file in each loop to keep the relevant sensor data for the task 1 to 8.
Step 2. Calculate the duration of each task (total of eight tasks) and store the record using an inner loop.
Step 3. Counting sensor firing events for each relevant sensor (51 sensors) using an inner loop and store the record.
Step 4. Repeat the steps (1 to 4) until all the data files are extracted for features. Export the output in a feature matrix table for Machine learning.