Dynamic time warping 1: Motivation

  Рет қаралды 37,964

Herman Kamper

Herman Kamper

Күн бұрын

Link to full playlist on DTW: • Dynamic time warping (...

Пікірлер: 37
@mohamedrefaat197
@mohamedrefaat197 3 жыл бұрын
Beautiful! Thanks for this "series".
@kamperh
@kamperh 3 жыл бұрын
Very happy you enjoy it! :)
@mahyar24
@mahyar24 Жыл бұрын
As a Data Scientist, I'm a long-time youtube learner who watched hundreds of hours of DS content. THIS WAS ONE OF THE BESTS! It reminded me of @statquest. Thanks a lot!
@kamperh
@kamperh Жыл бұрын
Thanks a ton for the encouragement! :D
@richsajdak
@richsajdak 5 ай бұрын
Fantastic job! This is one of the best explanations of DTW I've seen
@benjavides
@benjavides Жыл бұрын
Great explanation and visualizations, thanks!
@manishakowdiki8261
@manishakowdiki8261 Жыл бұрын
nice explaination
@julianray6802
@julianray6802 2 жыл бұрын
Best explanation I have come across!
@shrur3527
@shrur3527 2 жыл бұрын
thank u so much
@TheMangz1611
@TheMangz1611 7 ай бұрын
could you share python code to do this?
@codewithyouml8994
@codewithyouml8994 2 жыл бұрын
How we could generate these types of simulations?
@halbarads5406
@halbarads5406 3 жыл бұрын
Hi, thanks for the video. I am working with a database where I have the total monthly customer spend over 5 years on a product. My goal is to try to see which customers tend to increase or decrease their consumption at the same time by similar magnitudes. For that I am making clusters with the variable time and with the variation in consumption with respect to the previous month. For this I used k-means using the Euclidean distance as a measure. Do you consider that this is okay or should I use dynamic time warping as a distance measure? Greetings and thanks.
@kamperh
@kamperh 3 жыл бұрын
When choosing a distance metric, the crucial question is what you would like to do. Different distance metrics makes different underlying assumptions. So in DTW, for instance, the metric is explicitly developed so that, if the same pattern occurs at different points within the signal, you will still get a low distance (high similarity). From what you are saying, I don't think you actually want this, since you have the phrase "consumption at the same time", although I'm not entirely sure what that means. With Euclidean distance, you will always be comparing the first time-point of one consumer to the first time-point of another; in some cases this might be exactly what you want to do, where in other cases this might be exactly the opposite of what you want to do. Long answer to basically say: there is never one distance metric that will give you best performance in all cases. DTW is really good at some things, but not everything. Hope that helps! :)
@halbarads5406
@halbarads5406 3 жыл бұрын
@@kamperh thanks for your answer, i'll be waiting for more content :D
@SarahSanchez-b2w
@SarahSanchez-b2w 22 күн бұрын
Allen Shirley Miller Elizabeth Thomas Linda
@amvsekai
@amvsekai Жыл бұрын
Clear and nice explanation.. liked it ❤
@1ssbrudra
@1ssbrudra Жыл бұрын
I think it is important that we stop calling it a "distance metric" because its mathematically inaccurate, its a measure at best. www.cs.unm.edu/~mueen/DTW.pdf
@afraaalobaid8256
@afraaalobaid8256 3 жыл бұрын
That's very helpful! Thank you very much
@kamperh
@kamperh 3 жыл бұрын
Huge pleasure! :)
@user-gs9ze8us4b
@user-gs9ze8us4b 2 жыл бұрын
flawless explanation👍🏻
@nschweiz1
@nschweiz1 25 күн бұрын
Great video series! The algorithm video was the one that finally got me to "get" DTW!
@kad3nce
@kad3nce Жыл бұрын
Very helpful. Thank you for sharing! A question I have… I am looking for an algorithm to compare a human drum performance captured over midi to a click track. Answering the first question you pose in this video would provide a kind of performance accuracy score (e.g. “how closely was the drummer able to re-create the signal generated by the click track?”). And answering the second question posed in your video, perhaps while also presenting data on how far offset the corresponding points are, could give a drummer insight as to whether they are behind or in front of the beat, and by how much, etc. DTW seems close to what I need, except that the algorithm seems to be dependent on the sampling rate matching between the two signals. In this case, the human drummer may add or drop notes altogether relative to the click track, and thus end up with a different number of samples that likely never precisely line up with the click track at any point in time. Could you recommend a way to process these two times series that would enable me to answer the two questions you posed in this video?
@CarlosMagno-uz8de
@CarlosMagno-uz8de 10 ай бұрын
Such a great explanation. The best on the topic that I have come across!
@xuxu4068
@xuxu4068 2 жыл бұрын
This video helps me a lot, thank you
@kamperh
@kamperh 2 жыл бұрын
Very happy it helped!! :D
@afwanherucahya
@afwanherucahya Жыл бұрын
Does DTW could do a forecast or predictions?
@darh78
@darh78 4 ай бұрын
What a great explanation of DTW!
@diegocanales
@diegocanales 2 жыл бұрын
Exelent video!👏
@stat511
@stat511 Жыл бұрын
Thank you for sharing
@AntonKeyter
@AntonKeyter Жыл бұрын
Herman die kwaliteit van hierdie produksie oor DTW is uistekend, wel gedaan!! Selfs die kode wat jy deel help my om DTW in C++ skryf. Hierdie playlist help my om natuurlike herhalings van patrone in the FX mark te identifiseer. Baie dankie, doen asb meer sulke produksies, jy't werkik 'n talent. - (Hoop jy kry hierdie boodskap 😀)
@kamperh
@kamperh Жыл бұрын
Dankie Anton! Dis so lekker om so boodskap in Afrikaans te kry! :D
@Quizbeebuz
@Quizbeebuz 2 жыл бұрын
who , you really look similar to Mark Zuckerberg in every single way ! great explanation btw
@kamperh
@kamperh 2 жыл бұрын
Don't know if that's a complement or an insult ;) But happy you enjoyed the explanation! :)
@udomatthiasdrums5322
@udomatthiasdrums5322 2 жыл бұрын
love it!!
@AB-bp9fi
@AB-bp9fi 2 жыл бұрын
Very good.
@jonathanz9889
@jonathanz9889 Жыл бұрын
Sorry if this might be offensive but do you happen to be color blind? In the wikipedia GIF the blue curve you mention is actually purple.
@alexmatt4012
@alexmatt4012 Жыл бұрын
Another great tutorial starting with an unnecessary "so".
Dynamic time warping 2: Algorithm
26:06
Herman Kamper
Рет қаралды 36 М.
Dynamic time warping 4: Aligning sequences of vectors
17:35
Herman Kamper
Рет қаралды 17 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 16 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 1,9 МЛН
How DTW (Dynamic Time Warping) algorithm works
7:00
Thales Sehn Körting
Рет қаралды 162 М.
Speech features intro 1: (Fast) Fourier transform
19:43
Herman Kamper
Рет қаралды 7 М.
Monte Carlo Simulation
10:06
MarbleScience
Рет қаралды 1,4 МЛН
The BEST Way to Find a Random Point in a Circle | #SoME1 #3b1b
18:35
The Bayesians are Coming to Time Series
53:17
AICamp
Рет қаралды 25 М.
Dynamic time warping 3: Python code
5:38
Herman Kamper
Рет қаралды 20 М.
To Understand the Fourier Transform, Start From Quantum Mechanics
31:37
Physics with Elliot
Рет қаралды 495 М.