Skip to content

VAE Algorithm Config

Source

VAE-based algorithm Pydantic model.

VAEBasedAlgorithm

Bases: BaseModel

VAE-based algorithm configuration.

optimizer = OptimizerConfig() class-attribute instance-attribute

Optimizer to use, defined in SupportedOptimizer.

__str__()

Pretty string representing the configuration.

Returns:

  • str

    Pretty string.

algorithm_cross_validation()

Validate the algorithm model based on algorithm.

Returns:

  • Self

    The validated model.

get_compatible_algorithms() classmethod

Get the list of compatible algorithms.

Returns:

  • list of str

    List of compatible algorithms.

output_channels_validation()

Validate the consistency between number of out channels and noise models.

Returns:

  • Self

    The validated model.

predict_logvar_validation()

Validate the consistency of predict_logvar throughout the model.

Returns:

  • Self

    The validated model.