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

For the new "Uniform" class in Issue #203, create optimized "simulate" method ... #204

Open
llorracc opened this issue Jun 25, 2020 · 1 comment

Comments

@llorracc
Copy link

... that just reshuffles the order of the points in a uniform distribution (which can then be mapped into the corresponding points in an equiprobable discretization of any distribution.

Related to #203

@albop
Copy link
Member

albop commented Jun 25, 2020

There could be two ways to do it:

  • write a .simulate(... method='stochastic') that would use its own implementation only if method=='snowglobe' and would defer to the ancestor method return super().simulate(pass all arguments)
  • write a new .snowglobe(...) method
    Here, snowglobe is just a placeholder a the method name until we find the right one.

@albop albop assigned albop and unassigned albop Jun 15, 2021
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

No branches or pull requests

2 participants