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

✨ new scipy.stats distribution infrastructure #260

Closed
20 of 25 tasks
jorenham opened this issue Dec 5, 2024 · 0 comments · Fixed by #360
Closed
20 of 25 tasks

✨ new scipy.stats distribution infrastructure #260

jorenham opened this issue Dec 5, 2024 · 0 comments · Fixed by #360
Assignees
Labels
scipy.stats stubs: api change SciPy API changes following a release topic: upstream release SciPy releases
Milestone

Comments

@jorenham
Copy link
Owner

jorenham commented Dec 5, 2024

stats._probability_distribution

...
# Temporary file separated from _distribution_infrastructure.py
# to simplify the diff during PR review.
  • (private) _ProbabilityDistribution (abstract)

stats._distribution_infrastructure

  • (public) exp
  • (public) log
  • (public) abs
  • (public) truncate
  • (private-ish) ContinuousDistribution <: _ProbabilityDistribution
  • (private) TransformedDistribution <: ContinuousDistribution
  • (private) ShiftedScaledDistribution <: TransformedDistribution
  • (private) MonotonicTransformedDistribution <: TransformedDistribution
  • (private) TruncatedDistribution <: TransformedDistribution
  • (private) FoldedDistribution <: TransformedDistribution
  • (public) Mixture <: ContinuousDistribution (so far for naming consistency...)
  • (public) make_distribution: (rv_continuous) -> CustomDistribution
    • (closure) CustomDistribution
  • (private) _Domain (abstract)
  • (private) _SimpleDomain <: _Domaain
  • (private) _RealDomain <: _SimpleDomain
  • (private) _Parameter (abstract)
  • (private) _RealParameter <: _Parameter
  • (private) _Parameterization

stats._new_distributions

  • (public) Normal <: ContinuousDistribution
  • (private) StandardNormal <: Normal (don't let Liskov see this...)
  • (private) _LogUniform <: ContinuousDistribution
  • (private) _Uniform <: ContinuousDistribution
  • (private) _Gamma <: ContinuousDistribution
@jorenham jorenham added scipy.stats stubs: api change SciPy API changes following a release labels Dec 5, 2024
@jorenham jorenham added this to the 1.15.0.0 milestone Dec 5, 2024
@jorenham jorenham added the topic: upstream release SciPy releases label Dec 5, 2024
@jorenham jorenham changed the title new scipy.stats distribution infrastructure ✨ new scipy.stats distribution infrastructure Dec 6, 2024
@jorenham jorenham self-assigned this Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scipy.stats stubs: api change SciPy API changes following a release topic: upstream release SciPy releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant