Fast-Parallel-DTW-kNN-Python icon indicating copy to clipboard operation
Fast-Parallel-DTW-kNN-Python copied to clipboard

Sample input df format?

Open ClimbsRocks opened this issue 7 years ago • 6 comments

Thanks so much for sharing the implementation you arrived at here!

I tried using it today, and am having a little trouble understanding the format of df.

Any chance you could either describe what format the df should be in, or share an example df?

ClimbsRocks avatar Aug 09 '17 02:08 ClimbsRocks

Just take a numpy Matrix where every row is a time series.

The target vector y in row i contains the label for the time series in row i

MaxBenChrist avatar Aug 09 '17 07:08 MaxBenChrist

If you not manage to get it running I can look for an example later

MaxBenChrist avatar Aug 09 '17 07:08 MaxBenChrist

I had a look at the code and now understand the confusion. I will refactor it later + add example

MaxBenChrist avatar Aug 09 '17 10:08 MaxBenChrist

Thanks so much! Even just hearing that each row is a time series is very helpful.

ClimbsRocks avatar Aug 09 '17 17:08 ClimbsRocks

I also love your latest commit message :)

ClimbsRocks avatar Aug 09 '17 17:08 ClimbsRocks

Thank you. I will try to refactor the remaining code during the next days.

MaxBenChrist avatar Aug 10 '17 10:08 MaxBenChrist