etna.metrics.MetricMissingMode#

class MetricMissingMode(value)[source]#

Bases: str, Enum

Enum for different metric modes of working with missing values.

Attributes

error

The error is raised on missing values in y_true or y_pred.

ignore

Missing values in y_true are ignored, the error is raised on missing values in y_pred.

error = 'error'[source]#

The error is raised on missing values in y_true or y_pred.

ignore = 'ignore'[source]#

Missing values in y_true are ignored, the error is raised on missing values in y_pred.