DSCI-310-2024 / DSCI-310_Group-Project_Group8_Purchasing-Intent-Analysis

MIT License
0 stars 1 forks source link

Predicting Online Shopper Purchasing Intention


Contributers/Authors

Project Summary

Given the surge of online shopping, online retailers may get a lot of site traffic but what ultimately matters is whether or not users finalize their purchase. Marketing and User Experience teams are tasked with optimizing a site’s interface and content in order to improve customer retention and the site’s revenue. Given this, understanding customer browsing behaviour and web page features is crucial for not only improving the user’s experience, but also maximizing the retailer’s revenue.

This project aims to analyze various features of online shopper’s sessions on a site to predict whether the customer makes a purchase. We will use the dataset, Online Shoppers Purchasing Intention dataset from the UCI Machine Learning Repository.

How to Run the Data Analysis

To replicate our analysis on your machine:

  1. Clone this GitHub Repository on your local machine:
    • Click the green Code <> button and copy the URL.
    • On your local machine's terminal, navigate to the location where you would like this repository to reside in.
    • Run the command git clone <URL> in the terminal.
  2. Creating the virtual environment
    • Navigate to the cloned repository on your machine. Ensure you are in the root of the repository.
    • Run the command conda env create --file environment.yaml in the terminal.
    • Activate the virtual environment by running the following command in the terminal: conda activate project_env
  3. Running the analysis
    • Open the repository folder on your IDE (may vary depending on IDE)
    • Navigate to the analysis file by opening the project folder, then open the file Milestone1.ipynb
    • Make sure the kernel in your IDE is set to project_env.
  4. Run the report from top to bottom in your IDE.
  5. To deactivate the virtual environment, run the command conda deactivate

Running the Docker Container and Analysis

To run the project, you will have to run a docker container. To do so:

To view in IDE

OR

To view in Jupyter Notebook

Dependencies

License Information

This project is licensed under the terms of the MIT Licence, offered under the MIT open source license. See the LICENSE.md file for more information.