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 type of distribution based on empirical data #40

Open
RomainBes opened this issue Jan 5, 2024 · 1 comment
Open

New type of distribution based on empirical data #40

RomainBes opened this issue Jan 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@RomainBes
Copy link
Contributor

I was wondering if it would be possible, and relatively easy, to add a new type of distribution for parameters based on empirical distribution that would rely on the random library?

import random
random.choices(np.arange(0, 4), weights=np.arange(0, 4), k=10)
@raphaeljolivet
Copy link
Contributor

It could instead.
But I guess semantically it would be better to introduce a new type of "integer" parameters then.
That's something I had in mind.

@raphaeljolivet raphaeljolivet added the enhancement New feature or request label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants