Loading topic
Series, DatetimeIndex, shift), the scikit-learn fit/predict interface, and the supervised table from the previous chapters, where each row is one time step and the target is y.5 min readfit and predict. We now fit a model on that table and check it against the baselines.5 min readHistGradientBoostingRegressor, and split data chronologically. It explains one failure that these tools hide: a tree model cannot predict values outside the range it saw in training. It then shows three ways to deal with that.4 min readDatetimeIndex. The goal is a validation setup whose score predicts how the model will do on data it has not seen yet.6 min readHistGradientBoostingRegressor, and validate chronologically. It covers what to do when you need forecasts for more than one future step.5 min readTimeSeriesSplit as in the previous chapter on validation. It also assumes you can fit a HistGradientBoostingRegressor. Here the question is how to choose its se6 min readHistGradientBoostingRegressor, and score it on a chronological split. You will learn to ask the fitted model which features it relies on, and to judge how far to trust the answer.4 min readgroupby and scikit-learn's fit/predict5 min readHistGradientBoostingRegressor and run a chronological split. The code below is self-contained, so you can run it as shown.5 min read