Skip to content

Commit

Permalink
Merge pull request #171 from george0st/change
Browse files Browse the repository at this point in the history
Add dateextractor
  • Loading branch information
george0st authored Jun 4, 2024
2 parents 14a9ea3 + b72b7d1 commit d814400
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 03-test/20-pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "",
Expand All @@ -19,6 +20,7 @@
"basic-contact": {
"imputer": "",
"onehotencoder": "",
"dateextractor": "",
"storey.filter": "(event['contact-state'] == 'Active')",
"storey.extend": "({'bcontact': 'contact'})",
"calc": "",
Expand All @@ -27,6 +29,7 @@
"basic-relation": {
"imputer": "",
"onehotencoder": "",
"dateextractor": "",
"storey.filter": "(event['relation-type'] == 'TTT')",
"storey.extend": "",
"calc": "",
Expand All @@ -35,6 +38,7 @@
"basic-account": {
"imputer": "",
"onehotencoder": "",
"dateextractor": "",
"storey.filter": "(event['account-state'] == 'active')",
"storey.extend": "({'baccount': 'account'})",
"calc": "",
Expand All @@ -44,6 +48,7 @@
{
"imputer": "",
"onehotencoder": "",
"dateextractor": "",
"storey.filter": "(event['transaction-direction'] == 'Incoming' and event['transaction-type'] == 'Standard')",
"storey.extend": "({'btransaction': 'transaction'})",
"calc": "",
Expand All @@ -53,6 +58,7 @@
{
"imputer": "",
"onehotencoder": "",
"dateextractor": "",
"storey.filter": "(event['event-group'] == 'access' and event['event-action'] == 'login')",
"storey.extend": "({'bevent': 'event'})",
"calc": "",
Expand All @@ -62,6 +68,7 @@
{
"imputer": "",
"onehotencoder": "",
"dateextractor": "",
"storey.filter": "(event['content-type'] == 'text' and event['channel'] == 'xxx')",
"storey.extend": "({'bcommunication': 'communication'})",
"calc": "",
Expand Down

0 comments on commit d814400

Please sign in to comment.