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

Forecast future values of demand

Perfect! You have created the estimated future prices. Now you just need to score these with your regression models to forecast future sales demand for your high end product.

Your validation predictions are in your workspace as MET_hi_valid. The model with only prices is saved in your workspace as model_MET_hi.

Bu egzersiz

Forecasting Product Demand in R

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

Egzersiz talimatları

  • Predict sales for each product for the first 22 weeks of 2017 using the predict function.
  • Convert your predictions back to sales from log of sales!

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Predict the log of sales for your high end product
pred_MET_hi <- ___(___, newdata = ___)

# Convert predictions out of log scale
pred_MET_hi <- exp(___)
Kodu Düzenle ve Çalıştır