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

DiscreteDistribution keeps link to parent ContinuousDistribution #954

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sbenthall
Copy link
Contributor

@sbenthall sbenthall commented Feb 17, 2021

fixes #949

  • New ContinuousDistribution class
  • approx method on this class calls a method pmf_X (should be renamed...) which is overridden by subclasses
  • DiscreteDistributions created with approx link back to their parent continuous distribution with arguments to approx method
  • new tests for this functionality, changelog update included.

Please ensure your pull request adheres to the following guidelines:

  • Tests for new functionality/models or Tests to reproduce the bug-fix in code.
  • Updated documentation of features that add new functionality.
  • Update CHANGELOG.md with major/minor changes.

@sbenthall sbenthall added this to the 1.1.0 milestone Feb 18, 2021
@sbenthall sbenthall self-assigned this Aug 19, 2021
@sbenthall
Copy link
Contributor Author

TODO: I need to update this PR to get it up to the standards of the current master branch. Then it can be reviewed.

@alanlujan91 alanlujan91 self-requested a review July 6, 2022 15:24
@alanlujan91 alanlujan91 removed their request for review April 26, 2023 14:49
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.

DiscreteDistribution object should store reference to continuous distribution it was approximated from
1 participant