facebook / facebook/prophet

Add shock to the model / parametric extra regressors

Đang mở
#565 7 bình luận 1 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
20.4k
Fork
4.6k
Merge trung bình
19 giờ 52 phút
Pull request đã merge (30 ngày)
1

Mô tả

Hey,
This is more of a feature suggestion than actually an issue.
I was wondering if we could simulate shock to the system. Right now the [doc](https://facebook.github.io/prophet/docs/outliers.html) suggest to just remove them.
However sometimes you might not want to do that. An example could be trying to forecast Youtube traffic where you can have multiple shock coming up in small period of time (which would correspond on new video being published for example). A way to solve it would be to add the ability to have "shocks" to your model and for example fit them with exponential decay (which could describe correctly a new post being viral, a new video posted on youtube and so on). i.e. something like `median * delta * exp(-( i - t0[j] ) / tau)` where t0 is a vector that represent all the "initial" shock time.
Removing the trend, seasonality and holiday effect it would look like this:
![image](https://user-images.githubusercontent.com/4520383/41118913-566288a6-6a5f-11e8-839b-a049d2247bb7.png)
It might be a bit out of the scope of prophet but I thought I'd ask anyways.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.