如何找到两条曲线之间的相似度和相似度分数?

编程入门 行业动态 更新时间:2024-10-14 20:24:33
本文介绍了如何找到两条曲线之间的相似度和相似度分数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有两个数据集(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)

更多推荐

如何找到两条曲线之间的相似度和相似度分数?

本文发布于:2023-11-30 02:18:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1648394.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:两条   曲线   分数

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!