Comments (6)
Hi,
Could you provide more details?
What is the data frequency? daily?
Also can you provide the code you used to fir the model?
Thanks
Reza
from greykite.
Data frequency is monthly so I used freq="MS" as showing below:
Please let me know if additional information is needed.
metadata = MetadataParam(
time_col="ts",
value_col="y",
freq="MS"
)
forecaster = Forecaster()
result = forecaster.run_forecast_config(
df=df,
config=ForecastConfig(
model_template=ModelTemplateEnum.SILVERKITE.name,
forecast_horizon=12,
coverage=0.95,
metadata_param=metadata
)
)
snapshot of the data used:
ts datetime64[ns]
y float64
ts y
0 2012-02-01 390000.0
1 2012-03-01 400000.0
2 2012-04-01 410000.0
3 2012-05-01 438000.0
4 2012-06-01 470000.0
... ... ...
106 2020-12-01 1030000.0
107 2021-01-01 1050000.0
108 2021-02-01 1085000.0
109 2021-03-01 1095000.0
110 2021-04-01 1125000.0
Regards,
Aktham
from greykite.
@akthammomani Silverkite
tries to automatically introduce some amount of seasonality to the model. However, it is probably redundant for your use case. You can try to:
- Tune the seasonality (maybe even turn those off). Example here: https://github.com/linkedin/greykite/blob/master/docs/nbpages/tutorials/0100_forecast_tutorial.py (line 446)
- Use a different template e.g.
SILVERKITE_WEEKLY
. It was tuned for weekly data, however might produce a better model thanSILVERKITE
. More details here: https://github.com/linkedin/greykite/blob/master/docs/pages/stepbystep/0200_choose_template.rst
from greykite.
Thank you for the recommendations.
Both of the suggestions, produced same initial forecast, as shown below when seasonality is off:
from greykite.
@akthammomani Can you try using SILVERKITE_EMPTY template with C(month) as a regressor, ct1 as growth, and autoregression with "auto" or lag 1
from greykite.
Close this issue as this thread has been inactive for many days.
from greykite.
Related Issues (20)
- problems with additional regressors in low-level template HOT 1
- Different Precision Causes IndexError HOT 2
- pip3 install fail, osqp HOT 3
- Does multi-stage forecasting supports weekly aggregation as-well HOT 4
- Greykite Forecaster Model is Unpickle-able HOT 7
- Multivariate Support
- How to extract future trend? HOT 1
- support python 3.10 HOT 5
- No seasonal terms are included with seasonality options set to 'auto' with monthly data
- Forecasts appear too smooth for dataset original variability HOT 1
- can t set time col in metadata HOT 1
- Parallel execution on Spark, HOT 2
- ResourceWarning: Unclosed file... messages when deserializing a model. HOT 1
- The default performance of greykite silverkite is far worse than default prophet HOT 3
- Enforcing positive output, or how to tell the model not to produce negative results HOT 1
- Regressors Already Forecastd, No Lag Needed. But, getting AttributeError: 'dict' object has no attribute 'lagged_regressors' HOT 7
- Greykite feature scaling HOT 6
- Support for pandas 1.3 HOT 2
- Training the model on all data after benchmarking HOT 2
- regularization_strength Default value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from greykite.