Linear Regression on Ecommerce Customers' dataset

The Dataset has Customers' info like Email, Address, and their color Avatar and some numerical value columns:

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

Tasks Performed:

  • Import the required libraries
  • Read in the Ecommerce Customers csv file as a DataFrame called customers
  • Perform Exploratory Data Analysis
  • Create a linear model plot (using seaborn's lmplot)
  • Split the data into training and testing sets
  • Train the model on training data
  • Evaluate its performance by predicting the test values
  • Evaluate the Model
  • Explore the residuals
  • Conclusion