giotto-ai / giotto-tda

A high-performance topological machine learning toolbox in Python
https://giotto-ai.github.io/gtda-docs
Other
858 stars 175 forks source link

Add notebook for topological time series example #458

Closed lewtun closed 4 years ago

lewtun commented 4 years ago

Reference issues/PRs

Types of changes

Description

This PR adds a Jupyter notebook example that showcases how giotto-tda can be used for time series analysis. It focuses on two main ideas:

I decided against showcasing the resampling tricks, since I felt this would distract from the core aim of "getting started".

Screenshots (if appropriate)

Any other comments? I have not yet verified whether the resulting docs from this notebook look good or not. Will do it once I sync with @wreise

Checklist

lewtun commented 4 years ago

@wreise will this notebook be automatically included in the sphinx table of contents when the docs are eventually generated or do i need to manually add it somewhere?

wreise commented 4 years ago

@wreise will this notebook be automatically included in the sphinx table of contents when the docs are eventually generated or do i need to manually add it somewhere?

No, you could add it in doc/notebooks/examples.rst or doc/notebooks/tutorials.rst.

lewtun commented 4 years ago

Thanks @wreise! I decided to add it to the tutorials since the examples section is best served by a fully fledged case study

review-notebook-app[bot] commented 4 years ago

View / edit / reply to this conversation on ReviewNB

ulupo commented on 2020-08-17T13:47:09Z ----------------------------------------------------------------

Two points:

This time-delay embedding technique is also called Takens’ embedding after Floris Takens, who demonstrated its significance with a celebrated theorem in the context of nonlinear dynamical systems.

Maybe we could communicate this in a similar way here?

$$ SW_{d,\tau} f : \mathbb{R} \to \mathbb{R}^{d}\,, \qquad t \to \begin{bmatrix} f(t) \\ f(t + \tau) \\ f(t + 2\tau) \\ \vdots \\ (t + (d - 1)\tau) \end{bmatrix} $$


lewtun commented on 2020-08-23T09:02:23Z ----------------------------------------------------------------

Great points! I've also decided to replace the phrase "sliding window" with "time delay" for consistency with the terminology in our TakensEmbedding transformer