Trains a Random Forest on a target blended with the forecasts of
a seasonal autoregressive integrated moving average (SARIMA) model, which
acts as a teacher. For squared error, the composite loss
(1 - lambda) * MSE(f, y) + lambda * MSE(f, y_SARIMA), where MSE is the
mean squared error, is minimised exactly by fitting the forest to the
blended target z = (1 - lambda) * y + lambda * y_SARIMA. The SARIMA model
is chosen automatically by the Akaike information criterion (AIC) or
specified manually; the forest hyperparameters are set manually, by grid
search, or by Bayesian optimisation. The best lambda is chosen on a
chronological validation period. Functions for out-of-sample forecasting,
accuracy measures and plots are provided. The methodology is motivated by
hybrid forecasting framework proposed by Yeasin and Paul (2024)