Skip to content

Assignment-04-Simple-Linear-Regression-1. Q1) Delivery_time -> Predict delivery time using sorting time. Build a simple linear regression model by performing EDA and do necessary transformations and select the best model using R or Python.

Notifications You must be signed in to change notification settings

rushikeshw791/Simple-linear-regression-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Simple-linear-regression-1

delivery_time.csv

EDA and Data Visualization, Feature Engineering, Correlation Analysis, Model Building, Model Testing and Model Predictions using simple linear regression.

Predicting Delivery Time Using Sorting Time

Step 1 Importing Data

Step 2 Performing EDA On Data

a.) Renaming columns

b.) Checking Datatype

c.) Checking for Null Values

d.) Checking for Duplicate Values

Step 3 Plotting the data to check for outliers

Step 4 Checking the Correlation between variables

Step 5 Checking for Homoscedasticity or Hetroscedasticity

Step 6 Feature Engineering

a.) Trying different transformation of data to estimate normal distribution and to remove any skewness

Step 7 Fitting a Linear Regression Model

a.) Using Ordinary least squares (OLS) regression

b.) Square Root transformation on data

c.) Cube Root transformation on Data

d.) Log transformation on Data

Step 8 Residual Analysis

a.) Test for Normality of Residuals (Q-Q Plot)

b.) Residual Plot to check Homoscedasticity or Hetroscedasticity

Step 9 Model Validation

a.) Comparing different models with respect to their Root Mean Squared Errors

Step 10 Predicting values from Model with Log Transformation on the Data

About

Assignment-04-Simple-Linear-Regression-1. Q1) Delivery_time -> Predict delivery time using sorting time. Build a simple linear regression model by performing EDA and do necessary transformations and select the best model using R or Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published