From 0836de042e1107504c4230fd1d3d59b6b25b0cf3 Mon Sep 17 00:00:00 2001 From: jist <95856749+george0st@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:29:55 +0200 Subject: [PATCH 1/3] Update 20-pipeline.json --- 03-test/20-pipeline.json | 1 + 1 file changed, 1 insertion(+) diff --git a/03-test/20-pipeline.json b/03-test/20-pipeline.json index 8d83e76..2ea38aa 100644 --- a/03-test/20-pipeline.json +++ b/03-test/20-pipeline.json @@ -11,6 +11,7 @@ "basic-party": { "imputer": {"party-gender": "F", "party-nchild": 0 }, "onehotencoder": {"party-gender": ["F", "M"], "party-familystatus": ["Married", "Single", "Divorced"]}, + "dateextractor": {"parts": ["hour", "day_of_week"], "timestamp_col": "timestamp"}, "storey.filter": "(event['party-gender'] == 'F')", "storey.extend": "({'bparty': 'party'})", "calc": "", From 203b67a3537d48e03cfd614b2a940d9b6c788613 Mon Sep 17 00:00:00 2001 From: jist <95856749+george0st@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:30:51 +0200 Subject: [PATCH 2/3] Update 20-pipeline.json --- 03-test/20-pipeline.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/03-test/20-pipeline.json b/03-test/20-pipeline.json index 2ea38aa..cb05406 100644 --- a/03-test/20-pipeline.json +++ b/03-test/20-pipeline.json @@ -20,7 +20,8 @@ "basic-contact": { "imputer": "", "onehotencoder": "", - "storey.filter": "(event['contact-state'] == 'Active')", + "dateextractor": "", + "storey.filter",: "(event['contact-state'] == 'Active')", "storey.extend": "({'bcontact': 'contact'})", "calc": "", "aggregation": "" @@ -28,6 +29,7 @@ "basic-relation": { "imputer": "", "onehotencoder": "", + "dateextractor": "", "storey.filter": "(event['relation-type'] == 'TTT')", "storey.extend": "", "calc": "", @@ -36,6 +38,7 @@ "basic-account": { "imputer": "", "onehotencoder": "", + "dateextractor": "", "storey.filter": "(event['account-state'] == 'active')", "storey.extend": "({'baccount': 'account'})", "calc": "", @@ -45,6 +48,7 @@ { "imputer": "", "onehotencoder": "", + "dateextractor": "", "storey.filter": "(event['transaction-direction'] == 'Incoming' and event['transaction-type'] == 'Standard')", "storey.extend": "({'btransaction': 'transaction'})", "calc": "", @@ -54,6 +58,7 @@ { "imputer": "", "onehotencoder": "", + "dateextractor": "", "storey.filter": "(event['event-group'] == 'access' and event['event-action'] == 'login')", "storey.extend": "({'bevent': 'event'})", "calc": "", @@ -63,6 +68,7 @@ { "imputer": "", "onehotencoder": "", + "dateextractor": "", "storey.filter": "(event['content-type'] == 'text' and event['channel'] == 'xxx')", "storey.extend": "({'bcommunication': 'communication'})", "calc": "", From b72b7d13a8ab9a30a61f606edbce5a954e8854c2 Mon Sep 17 00:00:00 2001 From: jist <95856749+george0st@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:32:25 +0200 Subject: [PATCH 3/3] Update 20-pipeline.json --- 03-test/20-pipeline.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03-test/20-pipeline.json b/03-test/20-pipeline.json index cb05406..c3606cb 100644 --- a/03-test/20-pipeline.json +++ b/03-test/20-pipeline.json @@ -21,7 +21,7 @@ "imputer": "", "onehotencoder": "", "dateextractor": "", - "storey.filter",: "(event['contact-state'] == 'Active')", + "storey.filter": "(event['contact-state'] == 'Active')", "storey.extend": "({'bcontact': 'contact'})", "calc": "", "aggregation": ""