-
dtw.c 算法
在日常的生活中我们最经常使用的距离毫无疑问应该是欧式距离,但是对于一些特殊情况,欧氏距离存在着其很明显的缺陷,比如说时间序列,举个比较简单的例子,序列A:1,1,1,10,2,3,序列B:1,1,1,2,10,3,如果用欧氏距离,也就是distance[i][j]=(b[j]-a[i])*(b[j]-a[i])来计算的话,总的距离和应该是128,应该说这个距离是非常大的,而实际上这个序列的图像是十分相似的,这种情况下就有人开始考虑寻找新的时间序列距离的计算方法,然后提出了DTW算法,这种方法在语音识别,机器学习方便有着很重要的作用。
这个算法是基于动态规划(DP)的思想,解决了发音长短不一的模板匹配问题,简单来说,就是通过构建一个邻接矩阵,寻找最短路径和。
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-01-21 23:10:34下载
- 积分:1
-
粒子滤波重采样(13种方法)resampling methods for particle filtering
I have developed a serial of resampling methods for particle filtering in Matlab as attached below in separate .m files that you may have interest and that you may have better implementation than me, or if you have any question, your feedback will be appreciated.
These resampling methods together with their pseudo-codes
- 2022-06-12 23:28:12下载
- 积分:1
-
线性规划算法
线性规划算法-linear programming algorithm
- 2022-01-28 23:48:44下载
- 积分:1
-
很多数值分析算法函数
很多数值分析算法函数-A lot of numerical analysis algorithm function
- 2022-05-21 21:36:22下载
- 积分:1
-
一个正二十面体的细分迭代工程,很漂亮,需要glut
一个正二十面体的细分迭代工程,很漂亮,需要glut-an icosahedron is the breakdown of iterative engineering, and very pretty, needs glut
- 2022-07-12 14:02:38下载
- 积分:1
-
二维码生成程序
资源描述二维码的生成工具,以动态链接库形式进行编译,预留接口是(w_char,w_char)其中的第一个参数是输入的内容,第二个是地址
- 2022-01-25 14:51:29下载
- 积分:1
-
Bayesian forecasting of operations research is on the machine is important exper...
运筹学的贝叶斯预测,是上机进行运筹学实验的重要实验。-Bayesian forecasting of operations research is on the machine is important experimental operations research experiments.
- 2022-04-08 04:16:45下载
- 积分:1
-
实现网上流行的逐行广告滚动,即一定秒数滚动一行,并非线性滚动.改良后,可以由文字的滚动做成图片逐行滚动,每行可以有若干条...
实现网上流行的逐行广告滚动,即一定秒数滚动一行,并非线性滚动.改良后,可以由文字的滚动做成图片逐行滚动,每行可以有若干条-Realize the popular progressive online advertising rolling, that is, a certain number of seconds a rolling line, and non-linear scroll. Improvement can be made by the text of the scroll line by line scrolling picture, each line can have a number of articles
- 2023-05-03 21:50:04下载
- 积分:1
-
BM快速搜索算法的实现。可以实现诸如edit等软件的搜索功能,作者已经做过对比测试。...
BM快速搜索算法的实现。可以实现诸如edit等软件的搜索功能,作者已经做过对比测试。-BM quick search algorithm. Can be achieved, such as edit software such as search capabilities, the author has done comparison testing.
- 2022-02-04 04:35:37下载
- 积分:1
-
计算作图的源程序
计算作图的源程序-calculated mapping of the source
- 2022-06-11 22:14:30下载
- 积分:1