Skip to content

Latest commit

ย 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿท๏ธ Sales Price Prediction using Machine Learning & Streamlit

๐Ÿ“Œ Overview

This project utilizes Linear Regression to predict the Total Price of a product based on multiple input features. It includes a Streamlit-based web application for user interaction.

๐Ÿ“Š Features

  • ML Model: Linear Regression trained using scikit-learn.
  • Inputs (X):
    • beverage_category
    • product_cat
    • customer_cat
    • region_cat
    • Unit_Price
    • Quantity
    • Discount
  • Output (Y): Total_Price
  • Frontend: Built with Streamlit for real-time prediction.

๐Ÿ› ๏ธ Tech Stack

  • Python (Pandas, NumPy, Scikit-Learn)
  • Streamlit (Web UI)
  • Jupyter Notebook (for model training)

๐Ÿš€ How to Run

  1. Clone the Repository
    git clone https://github.com/yourusername/your-repo-name.git
    cd your-repo-name
  2. vscode terminal python -m streamlit run salary.py

Dataset - https://www.kaggle.com/api/v1/datasets/download/sebastianwillmann/beverage-sales

๐Ÿ“Š Model Training The dataset is preprocessed and split into training and testing sets. The Linear Regression model is trained using sklearn.linear_model.LinearRegression. Model evaluation metrics include Mean Squared Error (MSE) and Rยฒ Score.

๐Ÿ“Œ Future Improvements Implement hyperparameter tuning for better accuracy. Support for multiple regression models. Deploy the model using Docker / Cloud platforms.

๐Ÿ“ Author Developed by Praveen R

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages