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

Implemening regressors #107

Open
Petrified799 opened this issue Apr 24, 2023 · 3 comments
Open

Implemening regressors #107

Petrified799 opened this issue Apr 24, 2023 · 3 comments

Comments

@Petrified799
Copy link

Petrified799 commented Apr 24, 2023

Hi guys, I have a dataframe that has lagged columns of the target value and SMA columns along with year,date,month, WoW etc.. Is there a way in Greykite to accomadate those lagged and SMA columns? Please do let me know if there's anything. Thanks in advance

@amyfei2015
Copy link

Hi! Do you mean that you have these columns ready and want to use them as regressors? You can specify them as extra_pred_cols in the custom parameter. Please read the document here for more details. Thanks!

@Petrified799
Copy link
Author

Thank you for the reply.

Yes, my original dataset does contain these features already.

Also, I wanted to know regarding training the model and predicting the test data. After which I would like to predict future values? Is there a way to do this ?

@amyfei2015
Copy link

Hi! To forecast for future values, you can set forecast horizon to a desired number, and the forecasted values will be stored in result.forecast(more details here.) You can also use the stored model to predict for future timepoints, there's instructions on the same page. Let me know if you have more specific question on this, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants