Skip to content
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

Prioritize transformers for implementation or interfacing #17

Closed
fkiraly opened this issue Feb 5, 2019 · 7 comments
Closed

Prioritize transformers for implementation or interfacing #17

fkiraly opened this issue Feb 5, 2019 · 7 comments
Assignees

Comments

@fkiraly
Copy link
Collaborator

fkiraly commented Feb 5, 2019

for supporting #6.

Triaging based on favourite list.
To be put against existing implementations of transformers in tslearn, tsfresh, pyts, numpy.
Make decision of implement/interface/leave it (with priority perhaps).
To add a time estimate for implement/interface.

@TonyBagnall
Copy link
Contributor

TonyBagnall commented Feb 12, 2019

  1. AutoCorrelationFunction: Java version is here
    https://github.com/goastler/uea-tsc/blob/master/src/main/java/timeseriesweka/filters/ACF.java
    public double[] fitAutoCorrelations(double[] data)
    is the actualy implementation, although happy to use an off the shelf one
    single parameter is maximum lag, which I think I default to max of 100 or seriesLength/4
    Needed for classifier RISE

@TonyBagnall
Copy link
Contributor

TonyBagnall commented Feb 12, 2019

  1. FastFourierTransform: FFT
    https://github.com/goastler/uea-tsc/blob/master/src/main/java/timeseriesweka/filters/FFT.java
    set to either do an FFT or DFT
    Classifier: RISE and BOSS

@TonyBagnall
Copy link
Contributor

  1. PowerSpectrum:
    https://github.com/goastler/uea-tsc/blob/master/src/main/java/timeseriesweka/filters/PowerSpectrum.java
    public static double[] powerSpectrum(double[] d)

basically take the DFT and square the terms. Issues here are whether to use FFT and padding zeros (O(mlogm, but padding may skew things, especially if the data is not normalised) or use the exact DFT (O(m^2)). Only keep have of the terms, second half of power spectrum is a duplicate of the first
Needed for classifier RISE

@TonyBagnall
Copy link
Contributor

TonyBagnall commented Feb 12, 2019

  1. SFA
    all of the boss transforms we have are encapsulated within boss. We should probably change this
    https://github.com/goastler/uea-tsc/blob/master/src/main/java/timeseriesweka/classifiers/BOSS.java
    however, the previously sourced boss implementation can be used here
    Needed for classifier BOSS

@TonyBagnall
Copy link
Contributor

  1. Piecewise Aggregate Approximation (PAA)
    https://github.com/goastler/uea-tsc/blob/master/src/main/java/timeseriesweka/filters/PAA.java
    Simple transform that forms the basis of many others.

@TonyBagnall
Copy link
Contributor

TonyBagnall commented Feb 12, 2019

  1. SAX
    composed of PAA then a simple discretisation transform

@mloning
Copy link
Contributor

mloning commented Feb 13, 2019

For available Python implementation, see #6

@mloning mloning closed this as completed Feb 19, 2019
Use case 1: TSC/TSR automation moved this from In progress to Done Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants