Skip to content

Best way to affecting the associated match weights for different comparisons? #767

Answered by RobinL
mmagoffin-sd asked this question in Q&A
Discussion options

You must be logged in to vote

You can manually set the m and u probabilities in your settings object if you want to override the estimated values.

For example you can see in the last cell here we're saving settings to json.

And then loading in the first cell here

And in the saved settings you can see the m and u probabilities. These are the values you'd want to change for a manual override.

More information here on what the m and u probabilities mean

You can also manually set the m and u probabilities with code like:

# Get first comparison
comp = linker._settings_obj.comparisons[0]

# get first comparison level
cl = comp.comparison_levels[1]

# set m probability
cl.m_probability = 0.1

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mmagoffin-sd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants