Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: ARIMA Forecasting on Real Data | Section
Forecasting With Classical Models
Секція 1. Розділ 10
single

single

bookChallenge: ARIMA Forecasting on Real Data

Свайпніть щоб показати меню

In this chapter, you will apply your knowledge of ARIMA modeling to a real-world time series dataset. You will load a dataset, fit an ARIMA model, and evaluate its forecasting performance using metrics such as mean absolute error (MAE) and mean squared error (MSE). The process involves:

  • Preparing the data;
  • Splitting it into training and testing sets;
  • Fitting the ARIMA model;
  • Generating forecasts;
  • Computing the evaluation metrics.

This hands-on challenge will reinforce your understanding of how ARIMA models are used in practice and how to interpret their performance.

Завдання

Swipe to start coding

Practice forecasting future values by fitting an ARIMA model and evaluating its accuracy using standard error metrics.

  • Instantiate an ARIMA model using the train data and the provided order.
  • Fit the instantiated model to the training data.
  • Generate a forecast for the duration of the test set by passing test_size to the steps parameter.
  • Calculate the Mean Absolute Error (mae) and Mean Squared Error (mse) by comparing the actual test values against your forecast.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 10
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

some-alt