Skip to content

shingneshubham/cpi-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š CPI Inflation Analysis & Prediction (Machine Learning)

πŸ“Œ Project Overview

This project analyzes global Consumer Price Index (CPI) data and predicts inflation using Machine Learning techniques.

🎯 Objectives

  • Analyze global inflation trends
  • Perform exploratory data analysis (EDA)
  • Detect outliers and correlations
  • Build prediction model using Linear Regression

πŸ“‚ Dataset

  • Source: IMF CPI Dataset
  • Time Period: April 2025 – March 2026
  • Features: Monthly CPI values, country, category (COICOP)

βš™οΈ Technologies Used

  • Python
  • Pandas, NumPy
  • Matplotlib, Seaborn
  • Scikit-learn

πŸ“Š Key Analysis

  • Descriptive Statistics
  • Correlation Heatmap
  • Pairplot Analysis
  • Outlier Detection
  • Country-wise and Category-wise Trends

πŸ€– Machine Learning Model

  • Linear Regression (OLS)

πŸ“ˆ Model Performance

  • MAE: ~0.58
  • RMSE: ~1.12
  • RΒ² Score: 0.95

πŸ” Key Insights

  • High inflation concentrated in few countries
  • Strong correlation between monthly CPI values
  • 6-month data sufficient for prediction
  • Food, Energy, Housing drive inflation

πŸ“ Project Structure

About

CPI inflation analysis and prediction using machine learning with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages