-
Notifications
You must be signed in to change notification settings - Fork 184
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
[BUG] QuerySearch Value error even though the shape of inputs is correct #2538
Comments
You can reproduce this error even using the datasets provided by the library: from aeon.datasets import load_classification
X, y = load_classification("GunPoint")
X_train, q = X[:-1,:,:], X[-1,:,:]
querySearcher = QuerySearch(
k = 3
,distance = 'euclidean'
,normalise = False
,speed_up = 'fastest'
,n_jobs = 1 #os.cpu_count() - 1
)
querySearcher.fit(X = X_train)
querySearcher.predict(q) |
Hi, thanks for raising the issue, FYI most of this code is getting reworked in #2473, and will contain breaking changes. Concerning the current issue you are facing, you are right, the if condition here should be Note that having |
Greetings sir, thank you for replying. Indeed, I updated the code on my end, now it works as intended. When the #2743 is expected to be released? I'm asking to adjust my development process Thank you in advance |
When another maintainer have time to review it, it's quite a big one. Furthermore, for now, some functionalities have been removed (for example, query search on a collection of series) I would need to make some wrappers to make that happens, but this is simple. If you need any assistance once the PR is in to adapt your code, don't hesitate to create a discussion! |
I use the latest aeon version in python 3.12.3 env
Kind regards
The text was updated successfully, but these errors were encountered: