MetricFunctionSignature¶
- class MetricFunctionSignature(value)[source]¶
Bases:
str
,enum.Enum
Enum for different metric function signatures.
- Inherited-members
Attributes
function should expect arrays of y_pred and y_true with length
n_timestamps
and return scalarfunction should expect matrices of y_pred and y_true with shape
(n_timestamps, n_segments)
and return vector of lengthn_segments
- array_to_scalar = 'array_to_scalar'¶
function should expect arrays of y_pred and y_true with length
n_timestamps
and return scalar
- matrix_to_array = 'matrix_to_array'¶
function should expect matrices of y_pred and y_true with shape
(n_timestamps, n_segments)
and return vector of lengthn_segments