aeon-toolkit / aeon

A toolkit for machine learning from time series
https://aeon-toolkit.org/
BSD 3-Clause "New" or "Revised" License
1.02k stars 128 forks source link

[ENH] Normalise/TimeSeriesScaler reconciliation #2289

Closed TonyBagnall closed 2 weeks ago

TonyBagnall commented 2 weeks ago

Reference Issues/PRs

Fixes #2075

Result of dev discussion at module meeting on 1/11/24. Removes the TimeSeriesScaler, replaced with three classes in the file _rescaler

Normalizer - maps all series onto N(0,1) Centerer- shifts all series to zero mean MinMaxScaler - Maps all series onto [0,1]

allows unequal length and multivariate (independent transform for each channel

not doing here, but I think @dguijo may have wanted it

make invertible

aeon-actions-bot[bot] commented 2 weeks ago

Thank you for contributing to aeon

I have added the following labels to this PR based on the title: [ $\color{#FEF1BE}{\textsf{enhancement}}$ ]. I would have added the following labels to this PR based on the changes made: [ $\color{#41A8F6}{\textsf{transformations}}$ ], however some package labels are already present.

The Checks tab will show the status of our automated tests. You can click on individual test runs in the tab or "Details" in the panel below to see more information if there is a failure.

If our pre-commit code quality check fails, any trivial fixes will automatically be pushed to your PR unless it is a draft.

Don't hesitate to ask questions on the aeon Slack channel if you have any.

PR CI actions

These checkboxes will add labels to enable/disable CI functionality for this PR. This may not take effect immediately, and a new commit may be required to run the new configuration.

review-notebook-app[bot] commented 2 weeks ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

TonyBagnall commented 2 weeks ago

i think would be nice to add visual examples of series normalized before and after, either unit tests datas or a non normalized ucr one

agreed, after #2279

MatthewMiddlehurst commented 2 weeks ago

Normalizer or Normaliser? We have other PRs changing to UK english.

TonyBagnall commented 2 weeks ago

Normalizer or Normaliser? We have other PRs changing to UK english.

which other PRs? I went Normaliser then realised the rest of the toolkit is US English