bayespy.nodes.GaussianGamma.get_marginal_logpdf¶
- GaussianGamma.get_marginal_logpdf(gaussian=None, gamma=None)[source]¶
Get the (marginal) log pdf of a subset of the variables
- Parameters:
gaussian (list or None) – Indices of the Gaussian variables to keep or None
gamma (bool or None) – True if keep the gamma variable, otherwise False or None
- Returns:
A function which computes log-pdf
- Return type:
function