如何找到两条曲线之间的相似度和相似度分数? [英] how to find the similarity between two curves and the score of similarity?

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

问题描述

我有两个数据集(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(动态时间扭曲)

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

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

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