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.
To replicate our analysis on your machine:
Code <>
button and copy the URL.git clone <URL>
in the terminal.conda env create --file environment.yaml
in the terminal. conda activate project_env
project
folder, then open the file Milestone1.ipynb
conda deactivate
To run the project, you will have to run a docker container. To do so:
docker-compose pull
in your terminalTo view in IDE
docker-compose run --rm project-image bash
to enter the containermake clean-all
to reset the projectmake all
to run the analysis and produce the HTML report.exit
in terminal to exit container. OR
To view in Jupyter Notebook
docker-compose up
in your terminalmake clean-all
to reset the projectmake all
command to run the analysis.ctrl + C
(Windows) or command + C
in terminal to exit.conda==23.11.0
python=3.12
pandas== 2.2.1
jupyterlab==4.0.10
numpy==1.26.4
scikit-learn==1.4.0
matplotlib==3.8.2
seaborn==0.13.2
click==8.1.7
pytest=8.1.1
pyYAML=6.0.1
tabulate=0.9.0
ucimlrepo
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.