osl_dynamics.models.base.MVNConfig#
- class osl_dynamics.models.base.MVNConfig#
Settings for a multivariate normal observation model.
- Parameters:
- learn_meansbool
Should we make the mean vectors trainable?
- learn_covariancesbool
Should we make the covariance matrices trainable?
- initial_meansnp.ndarray or str, optional
Initialization for the mean vectors. A str is a path to a
.npyfile.- initial_covariancesnp.ndarray or str, optional
Initialization for the covariance matrices. If
diagonal_covariances=Trueand full matrices are passed, the diagonal is extracted. A str is a path to a.npyfile.- covariances_epsilonfloat, optional
Value added to the diagonal of the covariances for numerical stability. Defaults to 1e-6 if
learn_covariances=True, otherwise 0.- diagonal_covariancesbool, optional
Should we learn diagonal covariances?
- means_regularizercallable, optional
Regularizer for the mean vectors. See
osl_dynamics.inference.regularizers.- covariances_regularizercallable, optional
Regularizer for the covariance matrices.