You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There has been user desire for generating random numbers with respect to other distributions (normal in particular). But we should also consider adding other common distributions (power law, binomial, poisson, etc)
Right now we use fillRandom in chpl which doesn't seem to have the ability to specify distributions. I know there are ways of converting uniform into other distributions and bill did a power law conversion for the sort benchmarks. I'd rather not get too custom with it though since random number generation is very easy to mess up
I think we need to dive into how numpy does randomness to try and align ourselves with them as much as possible
here is the full list of functions supported by numpy's generators that have yet to be implemented, categorized according to how important they seem to me (i.e. do I recognize it from the single stats class I've taken?)
I found the c code where numpy defines it's distributions. It uses pcg as it's random number generators, same as chapel. So it feels like we could do something similar, but there's more digging to be done to tell how well this ports to chpl
There has been user desire for generating random numbers with respect to other distributions (normal in particular). But we should also consider adding other common distributions (power law, binomial, poisson, etc)
Right now we use
fillRandom
in chpl which doesn't seem to have the ability to specify distributions. I know there are ways of converting uniform into other distributions and bill did a power law conversion for the sort benchmarks. I'd rather not get too custom with it though since random number generation is very easy to mess upI think we need to dive into how numpy does randomness to try and align ourselves with them as much as possible
random
subfolder and foundation for a generator #2993choice
,permutation
, andshuffle
to random number generators #3066normal
to random number generators #3167exponential
andstandard_exponential
to random number generators #3183logistic
to random number generators #3372lognormal
to random number generators #3373multivariate_normal
to random number generators #3374poisson
to random number generators #3245gamma
andstandard_gamma
to random number generators #3846here is the full list of functions supported by numpy's generators that have yet to be implemented, categorized according to how important they seem to me (i.e. do I recognize it from the single stats class I've taken?)
remaining np random methods
Prioritized:
Not prioritized at the moment:
The text was updated successfully, but these errors were encountered: