Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于 dsp 预测准确度的疑问 #787

Open
zou2699 opened this issue May 10, 2023 · 3 comments
Open

关于 dsp 预测准确度的疑问 #787

zou2699 opened this issue May 10, 2023 · 3 comments
Labels
kind/bug Something isn't working

Comments

@zou2699
Copy link

zou2699 commented May 10, 2023

Describe the bug
关于 dsp 预测准确度的疑问
目前看dsp主要是利用傅里叶变换和自相关函数寻找时间序列的周期,且周期需为天或者周,不停的重复最后一个周期的数据,来达到预测的效果。
下图是使用cpu的7天使用率进行预测,在实际运用中,最后一个周期数据可能会导致局部时间段内的数据差距很大,预测的效果甚微。

Screenshots
image-1

局部时间段
image-2

@zou2699 zou2699 added the kind/bug Something isn't working label May 10, 2023
@qmhu
Copy link
Member

qmhu commented May 11, 2023

@zou2699 Would you please explain more about your chart like which line is what metric.

@zou2699
Copy link
Author

zou2699 commented May 11, 2023

@zou2699 Would you please explain more about your chart like which line is what metric.

the red line is actual cpu usage time series, and the yellow line is predicated cpu time series

@qmhu
Copy link
Member

qmhu commented May 12, 2023

算法首先会计算周期是天,还是周,然后会对上一个周期进行FFT和IFFT,得到下一个周期的数据,因此如果周期是周时,就不会出现你提的问题。所以你可以用debug方法看下你的数据预测的周期是什么。
https://gocrane.io/docs/core-concept/timeseriees-forecasting-by-dsp/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants