slaypni / fastdtw

A Python implementation of FastDTW
MIT License
793 stars 123 forks source link

fastdtw as SVM kernel #24

Open mohsin671 opened 5 years ago

mohsin671 commented 5 years ago

Can I use this fastdtw as a custom kernel to SKlearn SVM classifier?

slaypni commented 5 years ago

I do not think it is valid to use DTW as a kernel function, although it could return a value.

slaypni commented 5 years ago

I found a paper by googling. Although I did not read it, it might be informative.

Wan, V., & Carmichael, J. (2005). Polynomial dynamic time warping kernel support vector machines for dysarthric speech recognition with sparse training data. In Ninth European Conference on Speech Communication and Technology.