How to use Dynamic Time Warping (dtw) as distance parameter for knnclassify?

Hello,
As the title says, I would like to use:
dtw
as the distance parameter for:
knnclassify
I am pretty sure this is possible in principle, and have found several convincing exaples online, who explicitly used MATLAB, but none report the code.
My goal is unsupervised (hierarchical) clustering based on DTW distance of a collection of time-series.
Thanks a lot!

Réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by