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

Support ambiguous conditioning on TransformedDistributions #108

Merged
merged 9 commits into from
Mar 16, 2023

Conversation

eb8680
Copy link
Contributor

@eb8680 eb8680 commented Mar 8, 2023

Addresses #12. Blocking #70, which exercises this machinery. Blocked by #97.

Factored out of #97 to expedite review, since #97 made a temporarily breaking change to MultiWorldCounterfactual.

Tasks:

  • Add documentation
  • Add unit tests

@eb8680 eb8680 added enhancement New feature or request status:WIP Work-in-progress not yet ready for review labels Mar 8, 2023
@eb8680 eb8680 added this to the Initial public release milestone Mar 8, 2023
@eb8680 eb8680 added the blocked label Mar 8, 2023
@eb8680 eb8680 force-pushed the eb-indexset-selection branch from 5537f46 to c4e84dd Compare March 13, 2023 19:49
@eb8680 eb8680 self-assigned this Mar 13, 2023
@eb8680 eb8680 mentioned this pull request Mar 15, 2023
9 tasks
@eb8680 eb8680 force-pushed the eb-indexset-transform branch from 389b39a to 26369ac Compare March 16, 2023 18:05
@eb8680 eb8680 added status:awaiting review Awaiting response from reviewer and removed status:WIP Work-in-progress not yet ready for review labels Mar 16, 2023
@eb8680 eb8680 requested a review from cscherrer March 16, 2023 18:06
@eb8680
Copy link
Contributor Author

eb8680 commented Mar 16, 2023

Merging into #97 again, since #97 is still unreviewed.

@eb8680 eb8680 merged commit 89cbf48 into eb-indexset-selection Mar 16, 2023
@cscherrer
Copy link
Contributor

Thanks @eb8680 , I'll go through #97 next

cscherrer pushed a commit that referenced this pull request Mar 16, 2023
* selection

* all tests pass

* remove xfail

* nit

* suppress warning

* nit

* rename selection handlers

* Add reparameterizers for resolving conditioning ambiguity

* move to counterfactual

* rename factual_conditioning -> conditioning

* configuration for deepscm

* move hack into internals

* Include obs weight

* skip when not ambiguous

* Squashed commit of the following:

commit 6222760
Author: Eli <eli@basis.ai>
Date:   Wed Mar 1 10:05:05 2023 -0500

    import

commit fa2891d
Author: Eli <eli@basis.ai>
Date:   Wed Mar 1 09:50:46 2023 -0500

    simplify api by removing merge

* Squashed commit of the following:

commit b37fb99
Author: Eli <eli@basis.ai>
Date:   Wed Mar 1 10:22:43 2023 -0500

    lint

commit 6222760
Author: Eli <eli@basis.ai>
Date:   Wed Mar 1 10:05:05 2023 -0500

    import

commit fa2891d
Author: Eli <eli@basis.ai>
Date:   Wed Mar 1 09:50:46 2023 -0500

    simplify api by removing merge

* lint

* fix tests

* remove debug

* device inference

* fix rebase

* Rebase

* small bug

* separate out transform conditioning

* docs

* functions

* docs

* docstrings

* lint

* Add tests and refactor to make them pass

* clean up test and docstring

* rename base

* Support ambiguous conditioning on TransformedDistributions (#108)

* Add transform conditioning

* incorporate changes

* format

* test file

* docs

* test passes

* fix bug

* refactor

* move default strategy into handlers

* lint
@eb8680 eb8680 deleted the eb-indexset-transform branch August 7, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New feature or request status:awaiting review Awaiting response from reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants