0% found this document useful (0 votes)
16 views1 page

Jaro

Uploaded by

dfordevil007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views1 page

Jaro

Uploaded by

dfordevil007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 1

A company is currently deliberating whether to prioritize the enhancement of their mobile

app experience or their website. They have engaged your services on a contractual basis to
assist them in making this decision.

Work with their Ecommerce Customers csv file from the company.

• Use seaborn to create a jointplot to compare the Time on Website and Yearly Amount
Spent columns.
• Create a linear model plot (using seaborn's lmplot) of Yearly Amount Spent vs. Length
of Membership.
• Split the data into train – test split.
• Set a variable ‘X’ to the number of features of customers and another variable ‘Y’ to
be Yearly Amount Spent" column
• Set test_size=0.3 and random_state=0
• Train and predict
• Create a scatterplot of the real test values versus the predicted values
• Evaluate the model performance by calculating the residual sum of squares and the
explained variance score (R^2).
• Interpret the coefficients to get an idea and suggest your employer whether to
prioritize the enhancement of their mobile app experience or their website.

You might also like