diff --git a/aeon/datasets/_data_writers.py b/aeon/datasets/_data_writers.py index 93c7f3e552..93936f3437 100644 --- a/aeon/datasets/_data_writers.py +++ b/aeon/datasets/_data_writers.py @@ -10,12 +10,13 @@ from deprecated.sphinx import deprecated from aeon.utils.conversion import convert_collection -from aeon.utils.validation import has_missing, is_equal_length from aeon.utils.validation.collection import ( get_n_cases, get_n_channels, get_n_timepoints, + has_missing, is_collection, + is_equal_length, ) from aeon.utils.validation.labels import check_classification_y, check_regression_y diff --git a/aeon/transformations/collection/unequal_length/_pad.py b/aeon/transformations/collection/unequal_length/_pad.py index c127a1cc19..ea0f09409e 100644 --- a/aeon/transformations/collection/unequal_length/_pad.py +++ b/aeon/transformations/collection/unequal_length/_pad.py @@ -21,7 +21,7 @@ class Padder(BaseCollectionTransformer): Parameters ---------- - padded_length : int, "min" or "max", default="min" + padded_length : int, "min" or "max", default="max" Length to pad the series to. If "min", will pad the transformed series to the shortest series seen in ``fit``. If "max", will pad to the longest series seen in ``fit``. If an integer, will pad to that length. @@ -71,7 +71,7 @@ def __init__( self, padded_length="max", fill_value=0, - add_noise=False, + add_noise=None, error_on_long=True, random_state=None, ): diff --git a/aeon/transformations/collection/unequal_length/_resize.py b/aeon/transformations/collection/unequal_length/_resize.py index 0adee0b7b2..1df4136ed5 100644 --- a/aeon/transformations/collection/unequal_length/_resize.py +++ b/aeon/transformations/collection/unequal_length/_resize.py @@ -21,7 +21,7 @@ class Resizer(BaseCollectionTransformer): Parameters ---------- - resized_length : int, "min" or "max", default="min" + resized_length : int, "min" or "max", default="max" Length to resize the series to. If "min", will resize the transformed series to the shortest series seen in ``fit``. If "max", will resize to the longest series seen in ``fit``. If an integer, will resize to that length.