twodlearn.bayesnet.linear module¶
-
class
twodlearn.bayesnet.linear.
VLinear
(**kargs)[source]¶ Bases:
twodlearn.core.common.TdlModel
variational linear model
Tdl autoinitialization with arguments:
-
basis_dim
[source]¶ (
InputArgument
) number of dimensions of the explicit basis
-
batch_shape
[source]¶ (
InputArgument
) number of output dimensions
-
class
VLinearTransform
(**kargs)[source]¶ Bases:
twodlearn.bayesnet.distributions.MVN
distribution after performing a linear transformation
-
basis
[source]
-
basis_dim
[source] number of dimensions of the explicit basis
-
batch_shape
[source] number of output dimensions
-
weights
[source] linear weights
-
weights_prior
[source] prior for the linear parameters
-