Big-mart Sales Prediction

Big-mart Sales Prediction
This is a Regression problem where we have Data related to a Big-mart sales.
                                                                                                   T


DATASET We have Train dataset (8524 rows and 12 Columns) as well as Test dataset(5682 rows and 11 columns). Datasets are available online with the same,

PROBLEM : Predict the sales of the store.





FOLLOWING ARE THE SOLUTION TO THIS PROBLEM IN R

DATA LOADING



DATA MANIPULATING





DATA VISUALIZATION









DATA MODELLING



1. LINEAR REGRESSION








1. Linear Regression- Heteroskedasticity (unequal variance in error terms)

Due to unequal variance we use log this time










2. Linear Regression (using log to avoid any trend)



2. DECISION TREE










PREDICTION USING DECISION TREE( Because of less RMSE value)




YOU WILL GET AN OUTPUT FILE 'DT_Sales.csv' !!

HAPPY LEARNING !!!!!























Comments