Feb. 12, 2024, 1:29 a.m. | /u/afrochamplooo

Machine Learning www.reddit.com

Can somebody explain how XGBoost works with time series?

I am new to the Data Science field and saw a video of someone forecasting future energy consumption with XGBoost, which surprised me because I thought tree-based methods struggled with extrapolation ( constant values for out of range data).

I tried it myself and got constant values on my validation set. What am I doing wrong and what am I not understanding about XGBoost in the context of time series?

consumption data data science data science field energy forecasting future machinelearning science series thought time series tree values video work xgboost

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Senior Machine Learning Engineer

@ Samsara | Canada - Remote