---
title: "Discussion on \"Time Series Forecasting Lab (Part 4) - Hyperparameter Tuning\" | Hashnode"
description: "Discussion on \"Time Series Forecasting Lab (Part 4) - Hyperparameter Tuning\". Cover photo by christian buehner on Unsplash\nGo to R-bloggers for R news and tutorials contributed by hundreds of R bloggers.\nIntroduction\nThis is the fourth of a  series  of 6 articles about time series forecasting with panel data and ensemble stack..."
url: "https://hashnode.com/posts/time-series-forecasting-lab-part-4-hyperparameter-tuning/61e2ebb11f35f37864469c60"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Time Series Forecasting Lab (Part 4) - Hyperparameter Tuning](https://blog.bguarisma.com/time-series-forecasting-lab-part-4-hyperparameter-tuning?utm_source=hashnode&utm_medium=feed)

Cover photo by christian buehner on Unsplash Go to R-bloggers for R news and tutorials contributed by hundreds of R bloggers. Introduction This is the fourth of a series of 6 articles about time series forecasting with panel data and ensemble stack...

Jan 15, 2022 · 20 min read · blog.bguarisma.com  
Updated Jun 24, 2022  
Read the article

-   [#r](https://hashnode.com/tag/r)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)

## Written by

[Boris Guarisma](https://hashnode.com/@bguarisma)

@bguarisma · Paris, France

  
[View profile](https://hashnode.com/@bguarisma)

Data Science, AI & Quantum Computing

Avec curiosité et humilité, je partage ici mes explorations en IA, data science et au-delà. Un carnet de bord pour apprendre, douter, comprendre — loin du buzz, proche du vrai.

## Responses 4

Markdown supported · ⌘↵ to post

[JG](https://hashnode.com/@TheGoat)

[Oct 30, 2022](https://hashnode.com/posts/time-series-forecasting-lab-part-4-hyperparameter-tuning/61e2ebb11f35f37864469c60/comment/635e4f7bb7bb8c3f4ee424b2)

Hi [Boris Guarisma](https://hashnode.com/@bguarisma), I believe you use update\_role twice during the blog, the first is for row\_id in part 2 and the second is for month in part 4

Do we need both variables defined as "ID" roles?

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1667124768320/QrPsdRoY4.png)

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1667124826365/19o7qnV4g.png)

[JG](https://hashnode.com/@TheGoat)

[Oct 29, 2022](https://hashnode.com/posts/time-series-forecasting-lab-part-4-hyperparameter-tuning/61e2ebb11f35f37864469c60/comment/635d3710b7bb8c3f4ee414a0)

Hi [Boris Guarisma](https://hashnode.com/@bguarisma), where do the \_rds objects come from i.e. tuned\_rf\_rds, tuned\_xgboost\_rds, tuned\_prophet\_rds and tuned\_prophet\_fou\_boost\_rds? Thanks

[Rizqi Ramadhan](https://hashnode.com/@rizqrama)

[Apr 13, 2022](https://hashnode.com/posts/time-series-forecasting-lab-part-4-hyperparameter-tuning/61e2ebb11f35f37864469c60/comment/6256a42cb32ddd968bbed4f0)

Hi, do you know how to export the predicted results? thanks

[Simona Jokubauskaite](https://hashnode.com/@S1mona)

[Jan 25, 2022](https://hashnode.com/posts/time-series-forecasting-lab-part-4-hyperparameter-tuning/61e2ebb11f35f37864469c60/comment/61efd55a87fd2728e7cd2e3b)

Hi, model\_spec\_rf\_tune, grid\_phtxb\_spec are not defined.

[Boris Guarisma](https://hashnode.com/@bguarisma)

[Jan 25, 2022](https://hashnode.com/posts/time-series-forecasting-lab-part-4-hyperparameter-tuning/61e2ebb11f35f37864469c60/comment/61efd55a87fd2728e7cd2e3b#reply-61efd8c487fd2728e7cd2ea1)

Thank you Simona once again. The article has been corrected, "phtxb" should not be used and "model\_spec\_rf\_tune" was for random forest, here we work with prophet boost.
