Skip to content

HungPhamNoob/basic-time-series-forecasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ˆ Basic Time Series Forecasting

This repository is prepared for the INT3209E_1 Data Mining course seminar ๐ŸŽ“

Python

๐Ÿ Libraries used:

  • pandas โ€“ data manipulation
  • numpy โ€“ numerical computations
  • matplotlib / seaborn โ€“ visualization
  • statsmodels โ€“ AR, MA, ARMA, ARIMA modeling
  • scikit-learn โ€“ performance metrics, preprocessing, PCA
  • pmdarima โ€“ auto ARIMA modeling

๐Ÿ“Š Overview

This repository contains basic time series forecasting projects using PCA dimensionality reduction combined with ARIMA models in Python.
The goal is to learn how to analyze, model, and forecast time series data in practice, with clean, reproducible code.

We cover both types of time series data:

  • Univariate Time Series: Only one variable is tracked over time.
    Example: Monthly AirPassengers dataset.

  • Multivariate Time Series: Multiple variables are tracked over time, which may influence each other.
    Example: Daily Climate dataset.


๐Ÿ› ๏ธ Features

  • Load and preprocess time series datasets (AirPassengers, Bitcoin, etc.)
  • Visualize trends, seasonality, and residuals
  • StandardScaler for data normalization
  • PCA (Principal Component Analysis) for dimensionality reduction
  • Latent variable extraction and analysis
  • Build models:
    • AR (Autoregressive)
    • MA (Moving Average)
    • ARMA (Autoregressive Moving Average)
    • ARIMA (Autoregressive Integrated Moving Average)
  • Evaluate model performance:
    • MSE (Mean Squared Error)
    • MAE (Mean Absolute Error)
    • Rยฒ Score
  • Plot forecasts and confidence intervals

About

A repository for INT3209E_1 Data Mining course

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors