Online Shoppers Purchasing Intention Dataset
Donated on 8/30/2018
Of the 12,330 sessions in the dataset, 84.5% (10,422) were negative class samples that did not end with shopping, and the rest (1908) were positive class samples ending with shopping.
Dataset Characteristics
Multivariate
Subject Area
Business
Associated Tasks
Classification, Clustering
Feature Type
Integer, Real
# Instances
12330
# Features
17
Dataset Information
Additional Information
The dataset consists of feature vectors belonging to 12,330 sessions. The dataset was formed so that each session would belong to a different user in a 1-year period to avoid any tendency to a specific campaign, special day, user profile, or period.
Has Missing Values?
No
Introductory Paper
By C. O. Sakar, S. Polat, Mete Katircioglu, Yomi Kastro. 2019
Published in Neural computing & applications (Print)
Variables Table
Variable Name | Role | Type | Description | Units | Missing Values |
---|---|---|---|---|---|
Administrative | Feature | Integer | no | ||
Administrative_Duration | Feature | Integer | no | ||
Informational | Feature | Integer | no | ||
Informational_Duration | Feature | Integer | no | ||
ProductRelated | Feature | Integer | no | ||
ProductRelated_Duration | Feature | Continuous | no | ||
BounceRates | Feature | Continuous | no | ||
ExitRates | Feature | Continuous | no | ||
PageValues | Feature | Integer | no | ||
SpecialDay | Feature | Integer | no |
0 to 10 of 18
Additional Variable Information
The dataset consists of 10 numerical and 8 categorical attributes. The 'Revenue' attribute can be used as the class label. "Administrative", "Administrative Duration", "Informational", "Informational Duration", "Product Related" and "Product Related Duration" represent the number of different types of pages visited by the visitor in that session and total time spent in each of these page categories. The values of these features are derived from the URL information of the pages visited by the user and updated in real time when a user takes an action, e.g. moving from one page to another. The "Bounce Rate", "Exit Rate" and "Page Value" features represent the metrics measured by "Google Analytics" for each page in the e-commerce site. The value of "Bounce Rate" feature for a web page refers to the percentage of visitors who enter the site from that page and then leave ("bounce") without triggering any other requests to the analytics server during that session. The value of "Exit Rate" feature for a specific web page is calculated as for all pageviews to the page, the percentage that were the last in the session. The "Page Value" feature represents the average value for a web page that a user visited before completing an e-commerce transaction. The "Special Day" feature indicates the closeness of the site visiting time to a specific special day (e.g. Mother’s Day, Valentine's Day) in which the sessions are more likely to be finalized with transaction. The value of this attribute is determined by considering the dynamics of e-commerce such as the duration between the order date and delivery date. For example, for Valentina’s day, this value takes a nonzero value between February 2 and February 12, zero before and after this date unless it is close to another special day, and its maximum value of 1 on February 8. The dataset also includes operating system, browser, region, traffic type, visitor type as returning or new visitor, a Boolean value indicating whether the date of the visit is weekend, and month of the year.
Dataset Files
File | Size |
---|---|
online_shoppers_intention.csv | 1 MB |
Reviews
There are no reviews for this dataset yet.
pip install ucimlrepo
from ucimlrepo import fetch_ucirepo # fetch dataset online_shoppers_purchasing_intention_dataset = fetch_ucirepo(id=468) # data (as pandas dataframes) X = online_shoppers_purchasing_intention_dataset.data.features y = online_shoppers_purchasing_intention_dataset.data.targets # metadata print(online_shoppers_purchasing_intention_dataset.metadata) # variable information print(online_shoppers_purchasing_intention_dataset.variables)
Sakar, C. & Kastro, Y. (2018). Online Shoppers Purchasing Intention Dataset [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C5F88Q.
Creators
C. Sakar
Yomi Kastro
DOI
License
This dataset is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license.
This allows for the sharing and adaptation of the datasets for any purpose, provided that the appropriate credit is given.