osl_dynamics.models.base.SessionConfig#
- class osl_dynamics.models.base.SessionConfig#
Settings for session-specific observation model parameters.
- Parameters:
- n_sessionsint
Number of sessions.
- embeddings_dimint
Dimension of the session embeddings.
- spatial_embeddings_dimint
Dimension of the spatial embeddings (embeddings of the group parameters).
- unit_norm_embeddingsbool, optional
Should the embeddings of categorical session labels have unit norm?
- deviation_n_layersint, optional
Number of layers in the decoders of the session deviations.
- deviation_n_unitsint, optional
Number of units in each layer of the decoders.
- deviation_normalizationstr, optional
Normalization in the decoders. Either
None,'batch'or'layer'.- deviation_activationstr, optional
Activation in the decoders.
- deviation_dropoutfloat, optional
Dropout rate in the decoders.
- deviation_regularizerstr, optional
Keras regularizer for the decoders, e.g.
'l1'.- deviation_regularizer_factorfloat, optional
Factor the regularization of the decoders is multiplied by.
- session_labelslist of osl_dynamics.data.SessionLabels, optional
Labels for each session. Defaults to a categorical label with a different value for each session.