Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new febrl models #121

Merged
merged 3 commits into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion examples/febrl/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"fieldName" : "stNo",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "stNo",
"dataType": "\"string\""
},
Expand All @@ -36,6 +36,12 @@
"fields" : "city",
"dataType": "\"string\""
},
{
"fieldName" : "areacode",
"matchType": "exact",
"fields" : "areacode",
"dataType": "\"string\""
},
{
"fieldName" : "state",
"matchType": "fuzzy",
Expand Down Expand Up @@ -82,6 +88,7 @@
{\"name\":\"add1\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"add2\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"city\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"areacode\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"state\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"ssn\",\"type\":\"string\",\"nullable\":true}
Expand Down
10 changes: 9 additions & 1 deletion examples/febrl/configLink.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"fieldName" : "stNo",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "stNo",
"dataType": "\"string\""
},
Expand All @@ -36,6 +36,12 @@
"fields" : "city",
"dataType": "\"string\""
},
{
"fieldName" : "areacode",
"matchType": "exact",
"fields" : "areacode",
"dataType": "\"string\""
},
{
"fieldName" : "state",
"matchType": "fuzzy",
Expand Down Expand Up @@ -82,6 +88,7 @@
{\"name\":\"add1\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"add2\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"city\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"areacode\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"state\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"ssn\",\"type\":\"string\",\"nullable\":true}
Expand All @@ -106,6 +113,7 @@
{\"name\":\"add1\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"add2\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"city\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"areacode\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"state\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"ssn\",\"type\":\"string\",\"nullable\":true}
Expand Down
4 changes: 2 additions & 2 deletions examples/febrl/configSnow.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"fieldName" : "STREETNUMBER",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "STREETNUMBER",
"dataType": "\"string\""
},
Expand All @@ -38,7 +38,7 @@
},
{
"fieldName" : "AREACODE",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "AREACODE",
"dataType": "\"string\""
},
Expand Down
13 changes: 10 additions & 3 deletions examples/febrl/configWithTrainingSamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
{\"name\":\"add1\", \"type\":\"string\", \"nullable\":true,\"metadata\" : {}},
{\"name\":\"add2\",\"type\":\"string\",\"nullable\":true,\"metadata\" : {}},
{\"name\":\"city\", \"type\":\"string\", \"nullable\":true,\"metadata\" : {}},
{\"name\":\"areacode\", \"type\":\"string\", \"nullable\":true,\"metadata\" : {}},
{\"name\":\"state\", \"type\":\"string\", \"nullable\":true,\"metadata\" : {}},
{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true,\"metadata\" : {}},
{\"name\":\"ssn\",\"type\":\"string\",\"nullable\":true,\"metadata\" : {}}
Expand All @@ -44,7 +45,7 @@
},
{
"fieldName" : "stNo",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "stNo",
"dataType": "\"string\""
},
Expand All @@ -66,6 +67,12 @@
"fields" : "city",
"dataType": "\"string\""
},
{
"fieldName" : "areacode",
"matchType": "exact",
"fields" : "areacode",
"dataType": "\"string\""
},
{
"fieldName" : "state",
"matchType": "fuzzy",
Expand Down Expand Up @@ -112,6 +119,7 @@
{\"name\":\"add1\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"add2\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"city\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"areacode\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"state\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"ssn\",\"type\":\"string\",\"nullable\":true}
Expand All @@ -120,7 +128,6 @@
}],
"labelDataSampleSize" : 0.5,
"numPartitions":4,
"modelId": 100,
"modelId": 102,
"zinggDir": "models"

}
4 changes: 2 additions & 2 deletions examples/febrl/findTrainingData.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"fieldName" : "stNo",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "stNo",
"dataType": "\"string\""
},
Expand All @@ -38,7 +38,7 @@
},
{
"fieldName" : "areacode",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "areacode",
"dataType": "\"string\""
},
Expand Down
9 changes: 8 additions & 1 deletion examples/febrl120k/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"fieldName" : "stNo",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "stNo",
"dataType": "\"string\""
},
Expand All @@ -36,6 +36,12 @@
"fields" : "city",
"dataType": "\"string\""
},
{
"fieldName" : "areacode",
"matchType": "exact",
"fields" : "areacode",
"dataType": "\"string\""
},
{
"fieldName" : "state",
"matchType": "fuzzy",
Expand Down Expand Up @@ -82,6 +88,7 @@
{\"name\":\"add1\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"add2\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"city\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"areacode\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"state\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"ssn\",\"type\":\"string\",\"nullable\":true}
Expand Down
9 changes: 8 additions & 1 deletion examples/febrl120k/config120k.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"fieldName" : "stNo",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "stNo",
"dataType": "\"string\""
},
Expand All @@ -36,6 +36,12 @@
"fields" : "city",
"dataType": "\"string\""
},
{
"fieldName" : "areacode",
"matchType": "exact",
"fields" : "areacode",
"dataType": "\"string\""
},
{
"fieldName" : "state",
"matchType": "fuzzy",
Expand Down Expand Up @@ -82,6 +88,7 @@
{\"name\":\"add1\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"add2\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"city\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"areacode\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"state\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"ssn\",\"type\":\"string\",\"nullable\":true}
Expand Down
9 changes: 8 additions & 1 deletion examples/febrl120k/config500k.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"fieldName" : "stNo",
"matchType": "fuzzy",
"matchType": "exact",
"fields" : "stNo",
"dataType": "\"string\""
},
Expand All @@ -36,6 +36,12 @@
"fields" : "city",
"dataType": "\"string\""
},
{
"fieldName" : "areacode",
"matchType": "exact",
"fields" : "areacode",
"dataType": "\"string\""
},
{
"fieldName" : "state",
"matchType": "fuzzy",
Expand Down Expand Up @@ -82,6 +88,7 @@
{\"name\":\"add1\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"add2\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"city\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"areacode\", \"type\":\"string\", \"nullable\":true}, \
{\"name\":\"state\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"ssn\",\"type\":\"string\",\"nullable\":true}
Expand Down
6 changes: 6 additions & 0 deletions examples/modelIds.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The following model ids have been used in configuration files provided by the Zingg. The 1XX series is reserved for the Zingg.

Model Id Description
100 prebuilt model created with febrl data (65 records) using examples/febrl/config.json
101 prebuilt model created with febrl data (1,20,000 records) using examples/febrl120k/config.json
102 model id blocked for working with trainingSamples as configured in examples/febrl/configWithTrainingSamples.json
Loading