Can't sensibly supply comparison_levels_to_reverse_blocking_rule
in Splink 4
#2016
Labels
comparison_levels_to_reverse_blocking_rule
in Splink 4
#2016
In
linker.estimate_parameters_using_expectation_maximisation
there is an option to manually supplycomparison_levels_to_reverse_blocking_rule
, which takeComparisonLevel
objects. However in Splink 4 most users won't deal with these objects directly, instead usingComparisonLevelCreator
objects which build these behind-the-scenes.Right now, a user would have to do something like this:
My proposal is introducing a (unique)
name
to eachComparisonLevel
, which we can use to refer to these - this will be systematically created if not user-supplied. Comparison levels would have a fully unique name in the format "{comparison_name}.{comparison_level_name}".We already have
output_column_name
forComparison
which works this way, but I wonder if we shouldn't also include aname
for consistency (but maybe that just complicates things, idk).With this the above snippet would be something like:
This would also mean we can use this to get levels/comparisons directly as we may sometimes wish to do, without needing to go via gamma-values (and remember the numbering scheme).
The text was updated successfully, but these errors were encountered: