Skip to content

predict_sales(model) Function: Takes user input for TV, Radio, and Newspaper ad budgets, and predicts estimated sales using the trained model — with no warnings. Uses a DataFrame to match training format.

seemless12/sales-prediction-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📊 Sales Prediction Using Linear Regression

This project uses a Linear Regression model to predict product sales based on advertising budgets for TV, Radio, and Newspaper.

🧠 What’s Inside

  • A Jupyter notebook that trains and tests the model
  • Dataset: sales data file.csv
  • A custom function that lets users enter ad budgets to get a sales prediction

🚀 How to Run

🔹 Option 1: Run on Your Computer

  1. Clone or download the repo
  2. Install requirements (if needed):
    pip install pandas scikit-learn numpy

About

predict_sales(model) Function: Takes user input for TV, Radio, and Newspaper ad budgets, and predicts estimated sales using the trained model — with no warnings. Uses a DataFrame to match training format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published