bayespy.nodes.Bernoulli.set_parameters

Bernoulli.set_parameters(x)

Set the parameters of the VB distribution.

The parameters should be such that they can be used for optimization, that is, use log transformation for positive parameters.