Skip to content

Commit

Permalink
har_trees: Add a dataset definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnor committed Jan 2, 2025
1 parent ef78bfb commit 8bf8ed1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/har_trees/har_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,18 @@ def run_pipeline(run, hyperparameters, dataset,
'True', 'False',
],
),
'toothbrush_jonnor': dict(
groups=['session'],
label_column = 'is_brushing',
time_column = 'time',
data_columns = ['x', 'y', 'z'],
#data_columns = ['gravity_x', 'gravity_y', 'gravity_z'],
#data_columns = ['motion_x', 'motion_y', 'motion_z'],
classes = [
#'mixed',
'True', 'False',
],
),
}

if not dataset in dataset_config.keys():
Expand Down

0 comments on commit 8bf8ed1

Please sign in to comment.