Skip to content

Created a linear regression test on data to see if a company should spend more time on efforts on reaching out individuals on their mobile application or website.

Notifications You must be signed in to change notification settings

JonPara/linear_regression_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Linear Regression Data Set

This data set models a company based out of New York City that sells clothing online but they also have in-store style and clothing advice sessions. Customers come in to the store, have sessions/meetings with a personal stylist, then they can go home and order either on a mobile app or website for the clothes they want.

The company is trying to decide whether to focus their efforts on their mobile app experience or their website.

Analyzing Data

I worked with the data set that includes (fabricated) customer info, such as Email, Address, and their color Avatar. Then it also has numerical value columns:

img_1

Avg. Session Length: Average session of in-store style advice sessions. Time on App: Average time spent on App in minutes Time on Website: Average time spent on Website in minutes Length of Membership: How many years the customer has been a member.

Exploring the Data Set

Did analysis between time spent on the app and the yearly amount spent:

img_5

Analysis between time spent on the website and the yearly amount spent:

img_4

And a linear plot between the length of membership and yearly amount spent

img_6

Training and Testing the Data Set

Scikit Learn packages were used to split the data and create a linear regression model

img_2

I created a scatter plot which showed the real test values vs. our predicted values:

img_7

And the coefficients data frame: img_3

About

Created a linear regression test on data to see if a company should spend more time on efforts on reaching out individuals on their mobile application or website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published