-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: invalid operation on untyped list when running timeseries example #8
Comments
Hi @benjaminh ! First of all, thank you for using PyCVI and for taking the time to share your issue! I tried to run the basic_usage_time_series example again with:
And everything works on my side, so I don't know what could be causing this, but it doesn't seem to be coming from aeon nor numba. So we'll have to figure that out together. Could you share the following information:
|
Hello, thanks for the feedback, here are some additional information :
I also tried to inspect the input dataset # -------------- Standard data handling operations ---------------------
# Load data
data, labels = load_data("Trace", "ucr")
(N, T, d) = data.shape
# Data pre-processing
scaler = MinMaxScaler()
# Scaling for each variable and not time step wise
X = scaler.fit_transform(data.reshape(N*T, d)).reshape(N, T, d)
print(f"X is of type {type(X)}, with shape {N}, {T}, {d}") It outputs |
Data type and shape seem normal and unfortunately, I can't see anything in the output that could indicate where the error comes from. Would you mind sharing your whole script? |
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 :
I suspected an issue due to a different version of numba or aeon, but I do have
Any ideas what is causing this issue ? Do I have to cast some type on the input dataset vector ?
The text was updated successfully, but these errors were encountered: