如何求两条曲线的相似度以及相似度的得分?

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

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

更多推荐

如何求两条曲线的相似度以及相似度的得分?

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

发布评论

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

>www.elefans.com

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