登录
首页 » 算法 » dtw.c 算法

dtw.c 算法

于 2022-01-21 发布 文件大小:3.12 kB
0 160
下载积分: 2 下载次数: 1

代码说明:

在日常的生活中我们最经常使用的距离毫无疑问应该是欧式距离,但是对于一些特殊情况,欧氏距离存在着其很明显的缺陷,比如说时间序列,举个比较简单的例子,序列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%的代码片段,完整代码需下载后查看 加载中 侵权举报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 地质学中使用的钻孔插值。输入网格的宽度和高度,可以得到钻孔数。...
    地质学中使用的钻孔插值算法。输入网格的宽度和高度,可以得到钻孔数。-Geology interpolation algorithm used in drilling. Transmission grid width and height, the number can be boring.
    2022-10-30 13:35:03下载
    积分:1
  • 神经网络优化
    BP学习算法具有结构简单、参数可调、可操作性好等优点,虽然BP神经网络是人工神经网络中应用最广泛的算法,但也存在一些缺陷,如学习收敛速度太慢。利用遗传算法对神经网络的网络结构、初始连接权值和阈值选取进行优化。
    2022-03-02 08:27:42下载
    积分:1
  • 这是一个实现最优化计的程序,采用的为共轭梯度。...
    这是一个实现最优化计算的程序,采用的算法为共轭梯度法。-This is a realization of optimal calculation procedure, the algorithm used to conjugate gradient method.
    2022-07-22 03:40:05下载
    积分:1
  • 摄影测量连续相对定向
    测绘、遥感领域摄影测量连续法相对定向 ,两张相片之间寻找同名关系,讲两张影像纳入到同意坐标系中
    2022-08-24 12:25:02下载
    积分:1
  • 通过对二价谱的编程分析,对信号处理里面采样率和采样长度对fft的影响做了一针见血地分析...
    通过对二价谱的编程分析,对信号处理里面采样率和采样长度对fft的影响做了一针见血地分析-By bivalent programming spectrum analysis, signal processing inside the sample rate and sample length on the impact of fft analysis done sharply
    2023-02-03 19:35:04下载
    积分:1
  • Fifty Years of Shannon Theory
    应用背景 Fifty Years of Shannon Theory: A brief chronicle is given of the historical development of the central problems in the theory of fundamental limits of data compression and reliable communication. 关键技术Shannon’s A mathematical theory of communication”published in July and October of 1948 is the Magna Carta of the information age. Shannon’s discoveryof the fundamental laws of data compression and transmission marks the birth of Information Theory. A unifying theory with profound intersections with Probability, Statistics, Computer Science, and other fields, Information Theory continues to set the stage for the development of communications, data storage and processing, and other information technologies.
    2022-02-13 17:00:08下载
    积分:1
  • 数值分析中最常用的14个程序: 01_N皇后问题 01_循环赛程表 02_分段线性插值 02_牛顿插值 03_构造正交多项式 0...
    数值分析中最常用的14个程序: 01_N皇后问题 01_循环赛程表 02_分段线性插值 02_牛顿插值法 03_构造正交多项式 03_最佳一致逼近多项式 04_简单迭代法求方程根[1+1;x] 04_简单迭代法求方程根[sqrt(x+1)] 05_复化梯形公式求积 06_尤拉公式解初值问题 08_高斯消去法解方程组 09_连分式法求积 10_迭代法解线性方程组 10_雅可比方法-Numerical analysis of the 14 most commonly used procedures: 01_N Queen s problem 01_ cycle calendar 02_ piecewise linear interpolation 02_ Newton interpolation 03_ structure orthogonal polynomials 03_ best uniform approximation polynomial 04 _ a simple iterative method for root equation [1+ 1 x] 04_ simple iteration equation for the root [sqrt (x+ 1)] 05_ complex formula of trapezoid quadrature formula 06_ yula 08 initial value problem solutions _ Gaussian elimination solution equations 09_ continued fractions method 10_ quadrature iteration solution of linear equations Jacobian 10_ Ways
    2023-07-27 02:25:02下载
    积分:1
  • 学生成绩单系统
    应用背景studentcheck是背景检查和参加医疗机构临床轮转实习学生或药物测试的产品。 ;studentcheck允许医疗机构审查背景和 ;药物测试 ;结果是学生是否可以在他们的设施进行临床见习或实习做决定。 ;我们还提供 ;免疫跟踪 ;作为我们studentcheck服务套件的一部分。关键技术这个应用程序是在C / C + +,C + +是 ;面向对象编程(OOP)语言,被认为是最好的语言创建大规模的应用。
    2023-01-26 14:10:04下载
    积分:1
  • 高斯 - 赛德尔ITERATAIVE技术
    To solve Ax = b given an initial approximation x(0).**   INPUT:   the number of equations and unknowns n; the entries*            A(I,J), 1
    2022-01-21 21:36:23下载
    积分:1
  • 自己编写的子集和问题的源代码,绝对可以运行
    自己编写的子集和问题的源代码,绝对可以运行-I have written and the issue of a subset of the source code can run
    2022-10-01 04:10:04下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载