is_equal_length

is_equal_length(X)[source]

Test if X contains equal length time series.

Assumes input_type is a valid type (See aeon.utils.data_types.COLLECTIONS_DATA_TYPES).

Parameters:
Xcollection

See aeon.utils.data_types.COLLECTIONS_DATA_TYPES for details.

Returns:
boolean

True if all series in X are equal length, False otherwise.

Raises:
ValueError

Input_type not in COLLECTIONS_DATA_TYPES.

Deprecated since version 1.3.0: is_equal_length imported from utils.validation is deprecated and will be removed in v1.4.0. Import from aeon.utils.validation.collection instead.