Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aeon/clustering/_clarans.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def _fit_one_init(self, X: np.ndarray, max_neighbours: int):
j = 0
X_indexes = np.arange(X.shape[0], dtype=int)
if isinstance(self._init, Callable):
best_medoids = self._init(X)
best_medoids = self._init(X=X)
else:
best_medoids = self._init
best_non_medoids = np.setdiff1d(X_indexes, best_medoids)
Expand Down
Loading