-
Notifications
You must be signed in to change notification settings - Fork 152
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
[DOC] Fix rocket transformers which document unequal length capability #2444
Comments
Thanks for adding the code to reproduce the issue. It seems that unequal length capability was removed in a previous version. So what you are experimenting is "normal" for the current version. We can converts this issue into a enhancement one to implement this capability back when we retrieve the technical problems that caused this change before. |
so should it be labled as "documantion" and "enhancement"? |
Better keep this one as is and open another one for the enchancement. If you wish to create it go ahead, otherwise i'll do it in the evening. |
haha I'm afraid I'm not fluid enough in python to understand where does this loss of function accrued. Not to mention fix it.. |
No worries ! I'll tag you in the issue if you didn't find time to create it before I do so you can keep track then. |
thanks for this, it is a general issue for all classifiers, we should make it clear in the base class fit that it only accepts list of unequal length numpy if "capability:unequal" is true |
hi @maorgranot1 can you point to the documentation you looked at? I suspect it was from an old version. The latest has the text explaining about the tag values for capabilities. |
Second row after "Or list of numpy arrays..." |
ah ok, so need to more explicitly link the sentence with the secod paragraph that explains the constraints of list of numpy, thanks. discussed unequal length with angus today and agreed on best way to handle it, more to follow |
Describe the bug
Aeon's minirocket/multirocket wont support data of unequal length although it suppose to
The documentation states "Input data, any number of channels, equal length series of shape ( n_cases, n_channels, n_timepoints) or list of numpy arrays (any number of channels, unequal length series) of shape [n_cases], 2D np.array (n_channels, n_timepoints_i), where n_timepoints_i is length of series i", the class wont fit data of type list length N, containing np arrays of size (2XM[i]).
Steps/Code to reproduce the bug
Expected results
no error is thrown
Actual results
Versions
python: 3.10.12 (main, Nov 6 2024, 20:22:13) [GCC 11.4.0]
executable: /usr/bin/python3
machine: Linux-6.1.85+-x86_64-with-glibc2.35
Python dependencies:
aeon: 1.0.0
pip: 24.1.2
setuptools: 75.1.0
scikit-learn: 1.5.2
numpy: 1.26.4
numba: 0.60.0
scipy: 1.13.1
pandas: 2.2.2
The text was updated successfully, but these errors were encountered: