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

[ENH] simplified interface to Johnson QPD #254

Closed
wants to merge 18 commits into from
Closed

[ENH] simplified interface to Johnson QPD #254

wants to merge 18 commits into from

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Apr 18, 2024

This PR adds a simplified interface to the three Johnson QPD (bounded, lower semi-bounded, unbounded) to the module.

The interface uses the delegator introduced in #252, and is a simple parameter based dispatcher:

  • the umbrella class has parameters lower and upper, and the other parameters which are common to QPD_U, QPD_S, QPD_B
  • if lower and upper are not provided, it dispatches to QPD_U
  • if lower is provided but not upper, it dispatches to QPD_S
  • otherwise, it dispatches to QPD_B

As previously discussed in #232 - moving to an umbrella interface might also make the work carried out there easier.

What do you think, @setoguchi-naoki, @FelixWick?

@fkiraly fkiraly added module:probability&simulation probability distributions and simulators interfacing algorithms Interfacing existing algorithms/estimators from third party packages labels Apr 18, 2024
fkiraly added a commit that referenced this pull request Apr 19, 2024
This PR adds a delegator class for distributions, delegating all public
methods.

Similar to delegators for other object types, tag and params are not
delegated.

The class is tested via #254 - the
delegation works, the failures are genuine and identical with when tests
are being turned on for the QPD distributions.
@fkiraly
Copy link
Collaborator Author

fkiraly commented May 20, 2024

supserseded by #232 which contains this

@fkiraly fkiraly closed this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interfacing algorithms Interfacing existing algorithms/estimators from third party packages module:probability&simulation probability distributions and simulators
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant