Skip to content

Instantly share code, notes, and snippets.

@curiousily
Created April 23, 2020 19:41
Show Gist options
  • Save curiousily/70bff0a752b0241d4b23e9c56176ed1b to your computer and use it in GitHub Desktop.
Save curiousily/70bff0a752b0241d4b23e9c56176ed1b to your computer and use it in GitHub Desktop.
TIME_STEPS = 200
STEP = 40
X_train, y_train = create_dataset(
df_train[['x_axis', 'y_axis', 'z_axis']],
df_train.activity,
TIME_STEPS,
STEP
)
X_test, y_test = create_dataset(
df_test[['x_axis', 'y_axis', 'z_axis']],
df_test.activity,
TIME_STEPS,
STEP
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment