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 Datasets iTunes-amazon, beerAdvo-rateBeer and respective models #144

Merged
merged 3 commits into from Feb 15, 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.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4,346 changes: 4,346 additions & 0 deletions examples/beerAdvo-rateBeer/BeerAdvo.csv

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions examples/beerAdvo-rateBeer/README.txt
@@ -0,0 +1,3 @@
The dataset "BeerAdvo-RateBeer" has been taken from https://github.com/anhaidgroup/deepmatcher/blob/master/Datasets.md
and has been referred to in the paper https://pages.cs.wisc.edu/~anhai/papers1/deepmatcher-sigmod18.pdf.
The "ABV" value is denoted in percentage (e.g. 5.5 %). For modelling, the '%' sign has been removed to take its value as double.
3,001 changes: 3,001 additions & 0 deletions examples/beerAdvo-rateBeer/RateBeer.csv

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions examples/beerAdvo-rateBeer/config.json
@@ -0,0 +1,85 @@
{
"fieldDefinition":[
{
"fieldName" : "id",
"matchType" : "DONT_USE",
"fields" : "id",
"dataType": "\"string\""
},
{
"fieldName" : "Beer_Name",
"matchType" : "fuzzy",
"fields" : "Beer_Name",
"dataType": "\"string\""
},
{
"fieldName" : "Brew_Factory_Name",
"matchType" : "fuzzy",
"fields" : "Brew_Factory_Name",
"dataType": "\"string\""
},
{
"fieldName" : "Style",
"matchType": "fuzzy",
"fields" : "Style",
"dataType": "\"string\""
},
{
"fieldName" : "ABV",
"matchType": "fuzzy",
"fields" : "ABV",
"dataType": "\"double\""
}],
"output" : [{
"name":"output",
"format":"csv",
"props": {
"location": "/tmp/zinggOutput",
"delimiter": ",",
"header":false
}
}],
"data" : [{
"name":"beerAdvo",
"format":"csv",
"props": {
"location": "examples/beerAdvo-rateBeer/BeerAdvo.csv",
"delimiter": ",",
"header":true
},
"schema":
"{\"type\" : \"struct\",
\"fields\" : [
{\"name\":\"id\", \"type\":\"string\", \"nullable\":false},
{\"name\":\"Beer_Name\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Brew_Factory_Name\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Style\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"ABV\", \"type\":\"double\", \"nullable\":true}
]
}"
},
{
"name":"rateBeer",
"format":"csv",
"props": {
"location": "examples/beerAdvo-rateBeer/RateBeer.csv",
"delimiter": ",",
"header":true
},
"schema":
"{\"type\" : \"struct\",
\"fields\" : [
{\"name\":\"id\", \"type\":\"string\", \"nullable\":false},
{\"name\":\"Beer_Name\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Brew_Factory_Name\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Style\",\"type\":\"string\",\"nullable\":true} ,
{\"name\":\"ABV\", \"type\":\"double\", \"nullable\":true}
]
}"
}
],
"labelDataSampleSize" : 0.4,
"numPartitions":4,
"modelId": 106,
"zinggDir": "models"
}
55,924 changes: 55,924 additions & 0 deletions examples/iTunes-amazon/AmazonMusic.csv

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions examples/iTunes-amazon/README.txt
@@ -0,0 +1,3 @@
The dataset "iTunes-Amazon" has been taken from https://github.com/anhaidgroup/deepmatcher/blob/master/Datasets.md
and has been referred to in the paper https://pages.cs.wisc.edu/~anhai/papers1/deepmatcher-sigmod18.pdf.
The "Price" value is denoted in dollars (e.g. $ 15.05). For modelling, the '$' sign has been removed to take its value as double.
117 changes: 117 additions & 0 deletions examples/iTunes-amazon/config.json
@@ -0,0 +1,117 @@
{
"fieldDefinition":[
{
"fieldName" : "id",
"matchType" : "DONT_USE",
"fields" : "id",
"dataType": "\"string\""
},
{
"fieldName" : "Song_Name",
"matchType" : "fuzzy",
"fields" : "Song_Name",
"dataType": "\"string\""
},
{
"fieldName" : "Artist_Name",
"matchType" : "fuzzy",
"fields" : "Artist_Name",
"dataType": "\"string\""
},
{
"fieldName" : "Album_Name",
"matchType": "fuzzy",
"fields" : "Album_Name",
"dataType": "\"string\""
},
{
"fieldName" : "Genre",
"matchType": "fuzzy",
"fields" : "Genre",
"dataType": "\"string\""
},
{
"fieldName" : "Price",
"matchType": "fuzzy",
"fields" : "Price",
"dataType": "\"double\""
},
{
"fieldName" : "CopyRight",
"matchType": "fuzzy",
"fields" : "CopyRight",
"dataType": "\"string\""
},
{
"fieldName" : "Time",
"matchType": "fuzzy",
"fields" : "Time",
"dataType": "\"string\""
},
{
"fieldName" : "Released",
"matchType": "fuzzy",
"fields" : "Released",
"dataType": "\"string\""
}],
"output" : [{
"name":"output",
"format":"csv",
"props": {
"location": "/tmp/zinggOutput",
"delimiter": ",",
"header":false
}
}],
"data" : [{
"name":"itunes",
"format":"csv",
"props": {
"location": "examples/iTunes-amazon/iTunesMusic.csv",
"delimiter": ",",
"header":true
},
"schema":
"{\"type\" : \"struct\",
\"fields\" : [
{\"name\":\"id\", \"type\":\"string\", \"nullable\":false},
{\"name\":\"Song_Name\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Artist_Name\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Album_Name\",\"type\":\"string\",\"nullable\":true},
{\"name\":\"Genre\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Price\", \"type\":\"double\", \"nullable\":true},
{\"name\":\"CopyRight\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Time\",\"type\":\"string\",\"nullable\":true},
{\"name\":\"Released\", \"type\":\"string\", \"nullable\":true}
]
}"
},
{
"name":"amazon",
"format":"csv",
"props": {
"location": "examples/iTunes-amazon/AmazonMusic.csv",
"delimiter": ",",
"header":true
},
"schema":
"{\"type\" : \"struct\",
\"fields\" : [
{\"name\":\"id\", \"type\":\"string\", \"nullable\":false},
{\"name\":\"Song_Name\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Artist_Name\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Album_Name\",\"type\":\"string\",\"nullable\":true},
{\"name\":\"Genre\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Price\", \"type\":\"double\", \"nullable\":true},
{\"name\":\"CopyRight\", \"type\":\"string\", \"nullable\":true},
{\"name\":\"Time\",\"type\":\"string\",\"nullable\":true},
{\"name\":\"Released\", \"type\":\"string\", \"nullable\":true}
]
}"
}
],
"labelDataSampleSize" : 0.4,
"numPartitions":4,
"modelId": 105,
"zinggDir": "models"
}