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 Mar 2, 2025
1 parent 7b990d5 commit cf5dc50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aeon/clustering/feature_based/_r_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,7 @@ def _predict(self, X, y=None) -> np.ndarray:
X_std = self.scaler.fit_transform(transformed_data)
if self.optimal_dimensions > max(1, min(X_std.shape[0], X_std.shape[1])):
raise ValueError(
f"fitted x={self.x_test} must be between 0 and "
f"sample x ={X}"
f"fitted x={self.x_test} must be between 0 and " f"sample x ={X}"
)
pca = PCA(n_components=self.optimal_dimensions, random_state=self.random_state)
transformed_data_pca = pca.fit_transform(X_std)
Expand Down

0 comments on commit cf5dc50

Please sign in to comment.