vivekkopthsd commited on
Commit
bb168c8
·
verified ·
1 Parent(s): f6c3522

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - other
8
+ tags:
9
+ - churn-prediction
10
+ - customer-retention
11
+ - survival-analysis
12
+ - milp
13
+ ---
14
+
15
+ # Churn Predict — Data
16
+
17
+ Companion dataset for the [`churn_predict`](https://github.com/bravo2024/churn_predict) repository
18
+ (Customer Churn Prediction & Retention-Budget Optimization).
19
+
20
+ ## Files
21
+
22
+ | Path | Size | Description |
23
+ |---|---|---|
24
+ | `data/raw/ordered_open_ecommerce.parquet` | 150 MB | Raw Open E-Commerce 1.0 purchase records (1,761,259 rows, 2018-01 .. 2023-03). Berke et al. 2024. |
25
+ | `models/artifacts.pkl` | 197 MB | Fitted churn models, SHAP values, survival fits, and MILP results consumed by the Streamlit dashboard. |
26
+
27
+ ## Why on the Hub
28
+
29
+ Both files exceed GitHub's 100 MB per-file hard limit, so they are hosted here and fetched at
30
+ runtime by `dashboard.py` and `build_dataset.py` (via `huggingface_hub.hf_hub_download`).
31
+
32
+ ## Usage
33
+
34
+ ```python
35
+ from huggingface_hub import hf_hub_download
36
+
37
+ artifacts_path = hf_hub_download(
38
+ repo_id="vivekkopthsd/churn-predict-data",
39
+ filename="models/artifacts.pkl",
40
+ )
41
+ ```
42
+
43
+ ## Source and License
44
+
45
+ - **Open E-Commerce 1.0** — Berke, A., Calacci, D., Mahari, R., Yabe, T., Larson, K. and Pentland, S.
46
+ (2024). *Open e-commerce 1.0, five years of crowdsourced U.S. Amazon purchase histories with user
47
+ demographics*. Scientific Data, 11. DOI 10.1038/s41597-024-03329-6. MIT (ungated).
48
+ - `models/artifacts.pkl` — generated by `train_models.py` (all random seeds 42).
49
+ - Ethics: only benign demographics and Amazon-usage survey items; sensitive survey items excluded.