-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello,
I was trying to compute metrics for clustering on timeseries with DTW (done with tslearn library), and ended on your project !
I first encountered issues for my own clustering dataset (something with inf values), so I tried the examples provided in your documentation : https://pycvi.readthedocs.io/en/latest/examples/basic_usage_time_series.html
When running the code, I get the following error :
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[38], line 28
23 for k in k_range:
24
25 # Generate the clusters assuming that there are k clusters
26 # Clustering model to use, could be any sklearn-like clustering class
27 model = TimeSeriesKMeans(n_clusters=k)
---> 28 labels_pred = model.fit_predict(X)
30 # From predicted cluster-label for each datapoint to a list of
31 # datapoints for each cluster.
32 clusters_pred = get_clustering(labels_pred)
[...]
File ~/miniconda3/envs/ds/lib/python3.11/site-packages/numba/typed/typedlist.py:283, in List._numba_type_(self)
280 @property
281 def _numba_type_(self):
282 if self._list_type is None:
--> 283 raise TypeError("invalid operation on untyped list")
284 return self._list_type
TypeError: invalid operation on untyped list
I suspected an issue due to a different version of numba or aeon, but I do have
- python 3.11.8
- aeon 0.11.1
- numba 0.60.0
Any ideas what is causing this issue ? Do I have to cast some type on the input dataset vector ?
Metadata
Metadata
Assignees
Labels
No labels