Skip to content

Commit

Permalink
Automatic pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramana-Raja authored and github-actions[bot] committed Nov 23, 2024
1 parent 4b9606e commit fd3d5c7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions aeon/clustering/_r_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ class RCluster(BaseClusterer):
----------
num_kernels : int , default = 84
The number of convolutional kernels used to transform the input time series
These kernels are fixed and pre-defined (not random) and are optimized
These kernels are fixed and pre-defined (not random) and are optimized
for computational speed and
feature diversity
max_dilations_per_kernel : int , default = 32
The maximum number of dilation rates applied to each kernel
Dilations control the spacing of the kernel's receptive field
Dilations control the spacing of the kernel's receptive field
over the time series,
capturing patterns at varying scales
Expand All @@ -34,9 +34,9 @@ class RCluster(BaseClusterer):
num_cluster : int , default = 8
The number of clusters used
n_init : int , default = 10
The number of times the clustering algorithm (e.g., KMeans) will run with
The number of times the clustering algorithm (e.g., KMeans) will run with
different centroid seeds
to avoid poor local optima
Expand Down Expand Up @@ -88,9 +88,9 @@ def __fit_biases(X, dilations, num_features_per_dilation, quantiles):

# equivalent to:
# >>> from itertools import combinations
# >>> indices = np.array([_ for _ in combinations(np.arange(9), 3)],
#dtype = np.int32)
#MODIFICATION
# >>> indices = np.array([_ for _ in combinations(np.arange(9), 3)],
# dtype = np.int32)
# MODIFICATION
indices = np.array(
(
1,
Expand Down Expand Up @@ -471,7 +471,7 @@ def __transform(self, X, parameters):
# equivalent to:
# >>> from itertools import combinations
# >>> indices = np.array([_ for _ in combinations(np.arange(9), 3)]
#, dtype = np.int32)
# , dtype = np.int32)
indices = np.array(
(
1,
Expand Down

0 comments on commit fd3d5c7

Please sign in to comment.