BaşlayınÜcretsiz Başlayın

Ensemble forecast for new product

Now that you have two different types of forecasts - a time series and a regression - let's try to ensemble them together to improve the forecast. Your forecast objects for_MET_sp_xts and pred_MET_sp_xts are in your workspace along with your validation data object MET_sp_v.

Bu egzersiz

Forecasting Product Demand in R

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Take the average of your two forecasts.
  • Calculate the MAPE of this ensemble forecast.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Ensemble the two forecasts
for_MET_sp_en <- (___ + ___)/2

# Calculate the MAPE
MAPE <- mape(___, ___)
print(MAPE)
Kodu Düzenle ve Çalıştır