Skip to content

Commit 9a95f58

Browse files
aadya940github-actions[bot]
authored andcommitted
Automatic pre-commit fixes
1 parent cea39a5 commit 9a95f58

File tree

1 file changed

+3
-2
lines changed
  • aeon/transformations/collection/dictionary_based

1 file changed

+3
-2
lines changed

aeon/transformations/collection/dictionary_based/_paa.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
__maintainer__ = []
44

55
import numpy as np
6-
from numba import njit, prange, get_num_threads, set_num_threads
6+
from numba import get_num_threads, njit, prange, set_num_threads
77

88
from aeon.transformations.collection import BaseCollectionTransformer
99
from aeon.utils.validation import check_n_jobs
@@ -174,7 +174,8 @@ def _parallel_paa_transform(X, n_segments, split_segments):
174174
@njit(parallel=True, fastmath=True)
175175
def _parallel_inverse_paa_transform(X, original_length, n_segments, split_segments):
176176
"""Parallelize the inverse PAA transformation for cases where the series length is not
177-
divisible by the number of segments."""
177+
divisible by the number of segments.
178+
"""
178179
n_samples, n_channels, _ = X.shape
179180
X_inverse_paa = np.zeros(shape=(n_samples, n_channels, original_length))
180181

0 commit comments

Comments
 (0)