Utils module
This module contains all kinds of utility methods, and can be imported as follows:
>>> from dtaianomaly import utils
Utility classes
Mixin object to automatically check whether the object is fitted. |
|
Mixin object to print the construction call of an object. |
Utility functions
|
Check if a given list is valid. |
|
Check if a value is a valid array-like. |
Check if the given time series is univariate. |
|
Get the dimension of the given time series. |
|
|
Convert a given value to a list. |
Numba-based utility functions
|
Numba implementation for np.diff(x). |
|
Numba implementation for np.any(x, axis=0). |
|
Numba implementation for np.any(x, axis=1). |
Numba implementation to convert an array into intervals. |