如何求两条曲线的相似度以及相似度的得分? [英] how to find the similarity between two curves and the score of similarity?

查看:49
本文介绍了如何求两条曲线的相似度以及相似度的得分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个数据集 (t,y1) 和 (t,y2).这些数据集在视觉上看起来相同,但它们有一些时间延迟或幅度偏移.我想找到两条曲线之间的相似性(为近似相似的曲线给出相似性分数 1,为不相似的曲线给出 0).由于数据的波动,一些曲线似乎有所不同.所以,我正在寻找找到曲线之间相似性的方法.我已经在 Matlab 中尝试过梯度命令来找到每个时间步的曲线斜率并进行比较.但这并没有给我令人满意的结果.请任何人建议我找到曲线之间相似性的方法.

I have two data sets (t,y1) and (t,y2). These data sets visually look same but their is some time delay or magnitude shift. i want to find the similarity between the two curves (giving the score of similarity 1 for approximately similar curves and 0 for not similar curves). Some curves are seem to be different because of oscillation in data. so, i am searching for the method to find the similarity between the curves. i already tried gradient command in Matlab to find the slope of the curve at each time step and compared it. but it is not giving me satisfactory results. please anybody suggest me the method to find the similarity between the curves.

提前致谢

推荐答案

对于时间序列数据的相似性度量,一种传统的解决方案是DTW(Dynamic Time Warpping)

For time series data similarity measurement, one traditional solution is DTW (Dynamic Time Warpping)

这篇关于如何求两条曲线的相似度以及相似度的得分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆