Skip to content

Control to Treatment Matching#797

Merged
jeongyoonlee merged 5 commits into
uber:masterfrom
spohngellert-o:ctl_to_tmnt_matching
Oct 7, 2024
Merged

Control to Treatment Matching#797
jeongyoonlee merged 5 commits into
uber:masterfrom
spohngellert-o:ctl_to_tmnt_matching

Conversation

@spohngellert-o
Copy link
Copy Markdown
Contributor

Proposed changes

Add a parameter to NearestNeighborMatch that allows control to treatment matching. This is useful in scenarios when the control set is much smaller than the treatment set.

Types of changes

What types of changes does your code introduce to CausalML?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Further comments

The changes here somewhat change variable conventions in match, and so I am open to changing any variable names/conventions. Please let me know if there are any questions or comments.

@jeongyoonlee jeongyoonlee added the enhancement New feature or request label Oct 7, 2024
@jeongyoonlee jeongyoonlee self-requested a review October 7, 2024 18:07
Copy link
Copy Markdown
Collaborator

@jeongyoonlee jeongyoonlee left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for your continuous contribution and support!

@jeongyoonlee jeongyoonlee merged commit 8e4a5bf into uber:master Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants