๐Ÿ“˜ Introduction


1 What Drives Online Purchases?

The visualization below shows how the number of product-related pages viewed and the value of pages visited affect the likelihood of completing a purchase.



2 ๐Ÿ›๏ธ Summary:

This project explores how online shopping behavior predicts whether someone completes a purchase.

We used data from the UCI Machine Learning Repository, collected by the Faculty of Computer Science and Engineering at Gazi University (2018). The goal? To uncover which behaviors โ€” like product page views, bounce rates, and session duration โ€” actually signal a shopper is likely to buy.

๐Ÿงช We modeled purchase behavior using a logistic regression, where the outcome was whether a person made a purchase (yes or no).

Key predictors in our model:

๐Ÿ”Ž Product Pages Viewed

โณ Time Spent on Site

๐Ÿšช Bounce Rate (leaving the site quickly)

๐Ÿ’ก Insight: People who view more product pages are about 35% more likely to make a purchase โ€” even after accounting for time spent on the site and whether they bounced (with a margin of error of ยฑ3%).