project1A1B / Big-Mart-Sales-Prediction

Building Big Mart Sales Prediction model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Big-Mart-Sales-Prediction

The aim is to build a predictive model and find out the sales of each product at a particular store. Create a model by which Big Mart can analyse and predict the outlet production sales.

A perfect project to learn Data Analytics and apply Machine Learning algorithms (Linear Regression, Random Forest Regressor, XG Boost) to predict the outlet production sales.

Mini Project 2-A

Dataset Description

BigMart has collected sales data from the year 2013, for 1559 products across 10 stores in different cities. Where the dataset consists of 12 attributes like Item Fat, Item Type, Item MRP, Outlet Type, Item Visibility, Item Weight, Outlet Identifier, Outlet Size, Outlet Establishment Year, Outlet Location Type, Item Identifier and Item Outlet Sales. Out of these attributes response variable is the Item Outlet Sales attribute and remaining attributes are used as the predictor variables.

The data-set is also based on hypotheses of store level and product level. Where store level involves attributes like:- city, population density, store capacity, location, etc and the product level hypotheses involves attributes like:- brand, advertisement, promotional offer, etc.

Dataset

https://www.kaggle.com/datasets/brijbhushannanda1979/bigmart-sales-data/download?datasetVersionNumber=1

Dataset Details

The data has 8523 rows of 12 variables.

Variable - Details

  • Item_Identifier- Unique product ID
  • Item_Weight- Weight of product
  • Item_Fat_Content - Whether the product is low fat or not
  • Item_Visibility - The % of total display area of all products in a store allocated to the particular product
  • Item_Type - The category to which the product belongs
  • Item_MRP - Maximum Retail Price (list price) of the product
  • Outlet_Identifier - Unique store ID
  • Outlet_Establishment_Year- The year in which store was established
  • Outlet_Size - The size of the store in terms of ground area covered
  • Outlet_Location_Type- The type of city in which the store is located
  • Outlet_Type- Whether the outlet is just a grocery store or some sort of supermarket
  • Item_Outlet_Sales - Sales of the product in the particulat store. This is the outcome variable to be predicted.

Setup

1. Install jupyter notebook -

pip install jupyter notebook

2. Install Pycharm -

https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=windows&code=PCC

3. Install python librarys -

pip install pandas, pip install numpy, pip install matplotlib, pip install klib, pip install seaborn, pip install Sklearn, pip install joblib, pip install xgboost pip install flask

Project Flow

We will handle this problem in a structured way.

  • Loading Packages and Data
  • Data Structure and Content
  • Exploratory Data Analysis
  • Missing Value Treatment
  • Feature Engineering
  • Encoding Categorical Variables
  • Label Encoding
  • PreProcessing Data
  • Modeling
  • Linear Regression
  • RandomForest Regressor
  • XGBoost
  • Deployment

Contributors

o  MAYUR KYATHAM

o  PRERNA SHAKWAR 

o  UTSAV KUNTALWAD

o  SRUSHTI SAWANT

About

Building Big Mart Sales Prediction model


Languages

Language:Jupyter Notebook 99.7%Language:HTML 0.2%Language:Python 0.0%