scvi.train._metrics.ElboMetric#
- class scvi.train._metrics.ElboMetric(name, mode, interval, **kwargs)[source]#
Bases:
MetricElbo metric aggregator for scvi-tools experiments.
- Parameters:
name (
str) – Name of metric, used as the prefix of the logged name.mode (
Literal['train','validation']) – Train or validation, used as the suffix of the logged name.interval (
Literal['obs','batch']) – The interval over which the metric is computed. If “obs”, the metric value per observation is computed. If “batch”, the metric value per batch is computed.**kwargs – Keyword args for
torchmetrics.Metric
Attributes table#
Methods table#
Attributes#
- ElboMetric.full_state_update: Optional[bool] = False#
- ElboMetric.training: bool#