Live data from Hacker News

Ask HN: Data Scientists, what libraries do you use for timeseries forecasting?

news.ycombinator.com

1–10 of 91 posts

Re: Ask HN: Data Scientists, what libraries do you use for timeseries forecasting?

#6

I was told to start with XGBoost. Is Prophet better?

Xgboost is a classifier for tabular data, prophet is for time series prediction. They are different use cases, though you can likely massage xgboost to do time series prediction if you really wanted to. So the question of which is better is "it depends"

Re: Ask HN: Data Scientists, what libraries do you use for timeseries forecasting?

#7
Sktime is the best toolkit for time series out there. It provides a sklesrn like API for many models and modules for validating, metrics for evaluating and all that sklearm jazz.

Besides that, I also like statsmodels as the docs are pretty good.

Re: Ask HN: Data Scientists, what libraries do you use for timeseries forecasting?

#9
It really depends on what is the goal.

Get some forecasts quick => FB Prophet. It's not as good as they'd have you believe, but it's fast and analysts can play with it to some extent.

Outlier detection => Hand-rolled C++ ETS framework.

Multilevel predictions and/or more complex tasks => That's where neural models start to have the edge, but at that point it's a costly project. I like simpler stuff to start, moving to the big guns if/when it's needed.

Re: Ask HN: Data Scientists, what libraries do you use for timeseries forecasting?

#10

I was told to start with XGBoost. Is Prophet better?

Xgboost is a classifier for tabular data, prophet is for time series prediction. They are different use cases, though you can likely massage xgboost to do time series prediction if you really wanted to. So the question of which is better is "it depends"

I'm not even sure how you can get it to work on time series...
Post reply on HN