bayespy.nodes¶
Package for nodes used to construct the model.
Stochastic nodes¶
Nodes for Gaussian variables:
|
Node for Gaussian variables. |
|
Node for Gaussian variables with ARD prior. |
Nodes for precision and scale variables:
|
Node for gamma random variables. |
|
Node for Wishart random variables. |
|
Node for exponential random variables. |
Nodes for modelling Gaussian and precision variables jointly (useful as prior for Gaussian nodes):
|
Node for Gaussian-gamma (isotropic) random variables. |
|
Node for Gaussian-Wishart random variables. |
Nodes for discrete count variables:
|
Node for Bernoulli random variables. |
|
Node for binomial random variables. |
|
Node for categorical random variables. |
|
Node for multinomial random variables. |
|
Node for Poisson random variables. |
Nodes for probabilities:
|
Node for beta random variables. |
|
Node for Dirichlet random variables. |
Nodes for dynamic variables:
|
Node for categorical Markov chain random variables. |
|
Node for Gaussian Markov chain random variables. |
|
Node for Gaussian Markov chain random variables with switching dynamics. |
|
Node for Gaussian Markov chain random variables with time-varying dynamics. |
Other stochastic nodes:
|
Node for exponential family mixture variables. |
Point-estimation nodes:
|
|
|
|
|
ML point estimator for the shape parameter of the gamma distribution |
Deterministic nodes¶
|
Node for computing inner product of several Gaussian vectors. |
|
Node for computing general products and sums of Gaussian nodes. |
|
Node for computing sums of Gaussian nodes: . |
|
Deterministic gating of one node. |
|
Choose elements/sub-arrays along a plate axis |
|
|
|
Concatenate similar nodes along a plate axis. |
|
Concatenate Gaussian vectors along the variable axis (not plate axis) |
|
Choose plate elements from nodes based on a categorical variable. |