Rename TDE/IndividualTDE parameter 'max_dims' to 'max_channels' (#3418)#3684
Rename TDE/IndividualTDE parameter 'max_dims' to 'max_channels' (#3418)#3684SpiliosDimakopoulos wants to merge 2 commits into
Conversation
…-toolkit#3418) 'max_dims' predates aeon settling on 'channels' terminology for multivariate series dimensions, and is inconsistent with the rest of the codebase (e.g. n_channels_, capability:multivariate). This mirrors the identical rename already done for OrdinalTDE and IndividualOrdinalTDE (which already expose 'max_channels' with a deprecated 'max_dims' alias): adds 'max_channels' to TemporalDictionaryEnsemble and IndividualTDE, keeps 'max_dims' for one deprecation cycle with a FutureWarning mapping it to 'max_channels', and updates the internal IndividualTDE construction inside TemporalDictionaryEnsemble accordingly. Also updates/extends aeon/classification/dictionary_based/tests/test_tde.py, including a new test for the deprecation warning. Fixes aeon-toolkit#3418
Thank you for contributing to
|
The old 'znormalized' parameter defaulted to True, meaning 'do not z-normalize because the input is already normalized' -- confusing, since True implied normalization would happen. This introduces 'znormalize' (default=True), which now always means 'z-normalize the windows'. The old 'znormalized' parameter is kept for one deprecation cycle: passing it raises a FutureWarning and maps to the equivalent 'znormalize' value (znormalize = not znormalized), per the project's deprecation policy. Also updates the SAX example notebook and REDCOMETS' internal SAX call to the new parameter name, and updates/extends the SAX test suite (including new tests for the deprecation warning and its behavioural equivalence). Fixes aeon-toolkit#3678
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
thanks, but I assigned this and its also part of #3625 |
No description provided.