Skip to content

Shiva341-sudo/Sales-Prediction-using-machine-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sales Prediction using Advertising Data

πŸ“Š Project Overview

This project predicts product sales based on advertising spend across different media channels (TV, Radio, Newspaper). It demonstrates a complete machine learning workflow from data exploration to model deployment.

🎯 Problem Statement

A company wants to understand how their advertising budget across different media channels affects sales. Using historical data, we build a predictive model to forecast sales and optimize advertising spend allocation.

πŸ“ Dataset

The dataset contains 200 observations with 4 variables:

  • TV: Advertising spend on TV (in thousands of dollars)
  • Radio: Advertising spend on Radio (in thousands of dollars)
  • Newspaper: Advertising spend on Newspaper (in thousands of dollars)
  • Sales: Product sales (in thousands of units)

πŸ”§ Technologies Used

  • Python 3.8+
  • Pandas & NumPy (Data manipulation)
  • Matplotlib & Seaborn (Visualization)
  • Scikit-learn (Machine Learning)

πŸ“ˆ Key Features

  • Data exploration and visualization
  • Correlation analysis
  • Linear Regression model
  • Model evaluation metrics (RΒ², RMSE)
  • Sales prediction function

πŸš€ Getting Started

Prerequisites

pip install -r requirements.txt

About

Sales Prediction using Advertising Data Predicts product sales based on TV, Radio, and Newspaper advertising spend using Linear Regression. Achieves 90% accuracy (RΒ² score) in forecasting sales. Key Features: - πŸ“Š Data visualization & correlation analysis - πŸ€– Linear Regression model training - πŸ“ˆ Performance evaluation (RΒ², RMSE, MAE) - πŸ’‘

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors