Metrics Module

The metrics module provides functions and classes for calculating various time series metrics and performance indicators.

tide.metrics.nmbe(y_pred, y_true)[source]

Normalized Mean Biased Error

Parameters:
  • y_pred (Series) – array-like of shape (n_samples,) or (n_samples, n_outputs) Ground truth (correct) target values.

  • y_true (Series) – array-like of shape (n_samples,) or (n_samples, n_outputs) Estimated target values.

Return type:

float

Returns:

Normalized Mean biased error as float

tide.metrics.cv_rmse(y_pred, y_true)[source]

Coefficient of variation of root mean squared error

Parameters:
  • y_pred (Series) – array-like of shape (n_samples,) or (n_samples, n_outputs) Ground truth (correct) target values.

  • y_true (Series) – array-like of shape (n_samples,) or (n_samples, n_outputs) Estimated target values.

Return type:

float

Returns:

Coefficient of variation of root mean squared error as float