Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9368a9c
added new _cluster_initilisation and utility functions to be used in …
chrisholder Nov 19, 2025
0c8459c
added tests for init
chrisholder Nov 19, 2025
c0643c6
expanded tests
chrisholder Nov 19, 2025
ac90012
fixed medoids to use indexes
chrisholder Nov 20, 2025
c5405db
fixed serialisation
chrisholder Nov 20, 2025
a57e930
added soft-dtw and updated tests
chrisholder Nov 20, 2025
c01bc42
remove comment
chrisholder Nov 20, 2025
180a55a
update
chrisholder Nov 20, 2025
66e3a26
Merge branch 'init-submod' into soft-dtw-updates
chrisholder Nov 20, 2025
d04eb6d
soft-ba added
chrisholder Nov 20, 2025
e4a5779
kmedoids++ support negative distances
chrisholder Nov 20, 2025
ca16b4a
Merge branch 'init-submod' into soft-dtw-updates
chrisholder Nov 20, 2025
f6bfd55
Merge branch 'soft-dtw-updates' into soft-dba
chrisholder Nov 20, 2025
1a810c7
docstring
chrisholder Nov 20, 2025
b7fe061
kasba test fix
chrisholder Nov 20, 2025
4d9eade
Merge branch 'soft-dtw-updates' into soft-dba
chrisholder Nov 20, 2025
873d0af
doctests
chrisholder Nov 20, 2025
f371f05
Merge branch 'soft-dtw-updates' into soft-dba
chrisholder Nov 20, 2025
7f9bd98
remove bad ref
chrisholder Nov 20, 2025
5fa933a
doctest
chrisholder Nov 20, 2025
99757b3
Merge branch 'soft-dtw-updates' into soft-dba
chrisholder Nov 20, 2025
52a7d16
doc fix
chrisholder Nov 20, 2025
f841e50
doctest fix
chrisholder Nov 20, 2025
819e124
added docstring and updated function params
chrisholder Nov 22, 2025
f700faa
Merge branch 'init-submod' into soft-dtw-updates
chrisholder Nov 22, 2025
78ee8a1
Merge branch 'soft-dtw-updates' into soft-dba
chrisholder Nov 22, 2025
3617fe1
final comment
chrisholder Nov 22, 2025
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