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

[DRAFT] Calib uplift #772

Merged
merged 32 commits into from
Nov 18, 2024
Merged

[DRAFT] Calib uplift #772

merged 32 commits into from
Nov 18, 2024

Conversation

daniel-klein
Copy link
Contributor

Description

Checklist

  • Code commented & docstrings added
  • New tests were needed and have been added
  • A new version number was needed & changelog has been updated
  • A new PyPI version needs to be released

@cliffckerr cliffckerr added this to the Version 2.2 milestone Nov 16, 2024
@cliffckerr cliffckerr changed the base branch from main to rc2.2 November 16, 2024 16:43
@cliffckerr cliffckerr marked this pull request as ready for review November 18, 2024 03:31
This was referenced Nov 18, 2024
@cliffckerr cliffckerr merged commit af906f9 into rc2.2 Nov 18, 2024
3 checks passed
@cliffckerr cliffckerr deleted the calib-uplift branch November 18, 2024 03:38
logL += gln(real_data['x'] + sim_data['x'] + 1) + gln(real_data['n'] - real_data['x'] + sim_data['n'] - sim_data['x'] + 1) - gln(real_data['n'] + sim_data['n'] + 2)
logL += gln(sim_data['n'] + 2) - gln(sim_data['x'] + 1) - gln(sim_data['n'] - sim_data['x'] + 1)

def nll_beta(expected, actual):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be beta binomial instead of just beta to avoid possible confusion, even if the name it longer

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or maybe just binomial? Have added to #776

@daniel-klein
Copy link
Contributor Author

Nice improvements @cliffckerr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants