Giter VIP home page Giter VIP logo

multiple_linear_regression_customers's Introduction

Multiple Linear Regression based on eCommerce Customers Data

Project Overview

This project aims to perform a Multiple Linear Regression (MLR) analysis based on eCommerce customer data. By leveraging statistical techniques and machine learning methodologies, the objective is to uncover the underlying relationships between various customer attributes and their annual expenditure on the eCommerce platform. Through this analysis, we endeavor to develop a predictive model that can effectively estimate the yearly amount spent by customers, utilizing features such as average session length, time spent on the app and website, and the length of membership.

Dataset

The dataset used in this project was obtained from Kaggle.

Building the Model

The process of building the MLR model involved the following steps:

  • Splitting the data into training and testing sets.
  • Initially, all significant variables were considered to build the model. Then, if any variable proved to be statistically insignificant, subsequent steps aimed to refine the model.
  • Model evaluation was conducted using various statistical measures, including R-squared, adjusted R-squared, residual standard deviation and significance tests for coefficients.
  • The final model was validated through tests for normality of residuals, heteroskedasticity and autocorrelation.

Instructions

To utilize this project, follow these steps:

  1. Ensure you have the necessary Python libraries installed. You can install them via pip or conda.
  2. Clone this repository to your local machine.
  3. Run the Jupyter Notebook or Python script to execute the analysis.
  4. Customize the analysis or extend it to suit your specific requirements.

Dependencies

  • pandas
  • numpy
  • matplotlib
  • seaborn
  • scipy
  • plotly
  • scikit-learn
  • statsmodels

Main files

Contributing

If you find issues or have suggestions for improvements, feel free to let me know.

License

This project is licensed under the MIT License - see the LICENSE file for details.

multiple_linear_regression_customers's People

Contributors

aleniart avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.