From de75656d75fb7b51c54aac015f42f2b69d8ef40b Mon Sep 17 00:00:00 2001 From: jeadie Date: Tue, 23 Jan 2024 15:52:58 +1000 Subject: [PATCH 1/3] har70+ dataset in samples --- .spice/datasets/har70plus.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .spice/datasets/har70plus.yaml diff --git a/.spice/datasets/har70plus.yaml b/.spice/datasets/har70plus.yaml new file mode 100644 index 0000000..7a83460 --- /dev/null +++ b/.spice/datasets/har70plus.yaml @@ -0,0 +1,8 @@ +name: spiceai.samples.har70_plus +type: view +migrations: + - name: create_view + sql: | + CREATE OR REPLACE VIEW spiceai.samples.har70_plus AS ( + SELECT "timestamp", back_x, back_y, back_z, thigh_x, thigh_y, thigh_z, label FROM testmluploads.samples."har70plus.csv" limit 50 + ) \ No newline at end of file From afe5e8610aaee92ee14c79c6d5020216d9aa94f3 Mon Sep 17 00:00:00 2001 From: Jack Eadie Date: Tue, 23 Jan 2024 15:55:20 +1000 Subject: [PATCH 2/3] Update har70plus.yaml --- .spice/datasets/har70plus.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.spice/datasets/har70plus.yaml b/.spice/datasets/har70plus.yaml index 7a83460..b257632 100644 --- a/.spice/datasets/har70plus.yaml +++ b/.spice/datasets/har70plus.yaml @@ -4,5 +4,5 @@ migrations: - name: create_view sql: | CREATE OR REPLACE VIEW spiceai.samples.har70_plus AS ( - SELECT "timestamp", back_x, back_y, back_z, thigh_x, thigh_y, thigh_z, label FROM testmluploads.samples."har70plus.csv" limit 50 - ) \ No newline at end of file + SELECT "timestamp", back_x, back_y, back_z, thigh_x, thigh_y, thigh_z, label FROM testmluploads.samples."har70plus.csv" + ) From ce746aa7e70ba087ce291568a29b173dac7c3b7f Mon Sep 17 00:00:00 2001 From: Jack Eadie Date: Tue, 23 Jan 2024 15:56:38 +1000 Subject: [PATCH 3/3] Update har70plus.yaml --- .spice/datasets/har70plus.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.spice/datasets/har70plus.yaml b/.spice/datasets/har70plus.yaml index b257632..4a2a69d 100644 --- a/.spice/datasets/har70plus.yaml +++ b/.spice/datasets/har70plus.yaml @@ -4,5 +4,5 @@ migrations: - name: create_view sql: | CREATE OR REPLACE VIEW spiceai.samples.har70_plus AS ( - SELECT "timestamp", back_x, back_y, back_z, thigh_x, thigh_y, thigh_z, label FROM testmluploads.samples."har70plus.csv" + SELECT "timestamp", back_x, back_y, back_z, thigh_x, thigh_y, thigh_z, label, patient_id FROM testmluploads.samples."har70plus.csv" )