Jaro
Jaro
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.