Johann Faouzi

Results 111 comments of Johann Faouzi

Hi, First, you must use the Sakoe-Chiba method (`method='sakoechiba'`) to compute DTW with the Sakoe-Chiba band. This method has a `window_size` option, but the current implementation makes that it cannot...

DTW can only output a non-negative value: the minimum value is 0, when there exists a path such that the values perfectly match in both time series. DTW is a...

I don't understand. The matching on these images looks pretty good. Do you want to do that for your data?

You don't need dynamic time warping if there is no compression or dilation, just compute the R2 scores for each shift and find the index of the maximum: ```python import...

Of course. In this example I tried out all the possibles shifts, but you can limit them to a window. Just change the iterator in the for loop.

Hi, Thank you for your interest in pyts. Data sets of variable-length time series are unfortunately poorly supported for the moment, because of the following reasons: * The data sets...

Thank you for your detailed answer. Concerning the error, I should get rid of it because it is too restrictive. Basically this error occurs because the Fourier coefficients are all...

As you said, your first example was maybe too simple, but from what I understood, your data set looks like you have a target state `Y` that you want to...

Yes. The corresponding value for the `threshold` parameter is `None` (it's the default value). See the [documentation of pyts.image.RecurrencePlot](https://pyts.readthedocs.io/en/stable/generated/pyts.image.RecurrencePlot.html#pyts.image.RecurrencePlot).

Hi legout, My convention is that each row is a time series, which means that the time axis is the second axis. For instance, `x = np.random.randn(100,2)` means that you...