bayespy.utils.random¶
General functions random sampling and distributions.
Functions
|
Compute alpha-beta recursion for Markov chain |
|
Draw random samples from the Bernoulli distribution. |
|
Draw random samples from a categorical distribution. |
|
Draw a random correlation matrix. |
|
Draw a random covariance matrix. |
|
Draw random samples from the Dirichlet distribution. |
|
|
|
Entropy of . |
|
Log-density of . |
|
Compute the entropy of a Gaussian distribution. |
|
Integrates gamma distribution to obtain parameters of t distribution |
|
Log-density of a Gaussian distribution. |
|
Return random non-overlapping parts of a sequence. |
|
|
Solves p from log(p/(1-p)) |
|
|
Return a boolean array of the given shape. |
|
|
|
Draw random orthogonal matrix. |
|
Draw random points uniformly on a unit sphere. |
|
Draw a random matrix given its singular values. |
|
|
|
Draw a random sample from the Wishart distribution. |
|
Draw a random sample from the Wishart distribution. |