bayespy.inference.vmp.nodes.wishart.WishartMoments

class bayespy.inference.vmp.nodes.wishart.WishartMoments(shape)[source]
__init__(shape)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(shape)

Initialize self.

add_converter(moments_to, converter)

compute_fixed_moments(Lambda[, gradient])

Compute moments for fixed x.

from_values(x, ndim)

Compute the dimensions of phi and u.

get_converter(moments_to)

Finds conversion to another moments type if possible.

get_instance_conversion_kwargs()

Override this method when moment class instances are not identical if they have different attributes.

get_instance_converter(ndim)

Default converter within a moments class is an identity.

plates_from_shape(shape)

shape_from_plates(plates)