Skip to content

Commit

Permalink
better comparison chart
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinL committed Feb 2, 2021
1 parent 3811d68 commit 2d7f9c3
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.2] - 2020-02-02

### Changed

- Improve estimate comparison charts, including tooltips and better labels

## [1.0.1] - 2020-01-31

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "splink"
version = "1.0.1"
version = "1.0.2"
description = "Implementation in Apache Spark of the EM algorithm to estimate parameters of Fellegi-Sunter's canonical model of record linkage."
authors = ["Robin Linacre <robinlinacre@hotmail.com>", "Sam Lindsay", "Theodore Manassis"]
license = "MIT"
Expand Down
54 changes: 52 additions & 2 deletions splink/files/chart_defs/compare_estimates.json
Expand Up @@ -24,8 +24,34 @@
"row": {
"type": "nominal",
"field": "column_name",
"title": null
"title": null,
"sort": {
"field": "gamma_index"
},
"header": {
"labelAngle": 0,
"labelAnchor": "middle",
"labelAlign": "left"
}
},
"tooltip": [
{
"type": "nominal",
"field": "column_name"
},
{
"type": "nominal",
"field": "estimate_name"
},
{
"type": "quantitative",
"field": "m_probability"
},
{
"type": "quantitative",
"field": "u_probability"
}
],
"x": {
"type": "quantitative",
"field": "u_probability",
Expand Down Expand Up @@ -94,8 +120,32 @@
"row": {
"type": "nominal",
"field": "column_name",
"title": null
"title": null,
"sort": {
"field": "gamma_index"
},
"header": {
"labels": false
}
},
"tooltip": [
{
"type": "nominal",
"field": "column_name"
},
{
"type": "nominal",
"field": "estimate_name"
},
{
"type": "quantitative",
"field": "m_probability"
},
{
"type": "quantitative",
"field": "u_probability"
}
],
"x": {
"type": "quantitative",
"field": "m_probability",
Expand Down

0 comments on commit 2d7f9c3

Please sign in to comment.