Skip to content

shreyashhedaoo181-png/sales-prediction-ml-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sales Prediction using Machine Learning

πŸ“Œ Overview

This project predicts product sales based on advertising budgets using Machine Learning.
The dataset contains marketing spend on TV, Radio, and Newspaper and the corresponding Sales.

The goal is to identify which advertising channel impacts sales the most and build a predictive model.


πŸ“‚ Project Structure

β”œβ”€β”€ sales_prediction_project.py       # Main ML script
β”œβ”€β”€ Sales_Prediction_Project.pptx     # Project Presentation
β”œβ”€β”€ advertising.csv (optional)        # Dataset
└── README.md                         # Project Documentation

πŸ”§ Technologies Used

  • Python
  • Pandas
  • NumPy
  • Matplotlib / Seaborn
  • Scikit-learn
  • Linear Regression

πŸ“Š Exploratory Data Analysis (EDA)

  • TV has the strongest impact on Sales
  • Radio has moderate contribution
  • Newspaper has very low impact
  • Correlation heatmap confirms strong linear relationship with TV

πŸ€– Model Used

Linear Regression

  • Simple
  • Fast
  • Interpretable
  • Works well for numeric prediction

πŸ“ˆ Model Performance (Typical Results)

Metric Value
RΒ² Score ~0.90
RMSE ~1.25
MAE ~1.02

🧠 Predictions

Example prediction from model:

predict_sales(tv=150, radio=20, newspaper=15)

πŸš€ How to Run the Project

python sales_prediction_project.py

Make sure the dataset advertising.csv is in the same folder.


🎯 Future Improvements

  • Add Random Forest & XGBoost
  • Hyperparameter tuning
  • Add more marketing features
  • Deploy model using Flask or Streamlit

πŸ‘¨β€πŸ’» Author

Shreyash Hedaoo
Machine Learning & Data Science Learner


About

"Machine Learning project for predicting sales using Linear Regression on Advertising dataset."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages