Update README.md
Browse files
README.md
CHANGED
@@ -1,37 +1,22 @@
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
-
|
4 |
-
configs:
|
5 |
-
- config_name: client_split
|
6 |
-
data_files: "client_split.tar.gz"
|
7 |
-
- config_name: detail
|
8 |
-
data_files: "detail.tar.gz"
|
9 |
-
- config_name: ptls
|
10 |
-
data_files: "ptls.tar.gz"
|
11 |
-
- config_name: targets
|
12 |
-
data_files: "targets.tar.gz"
|
13 |
---
|
14 |
-
#
|
15 |
-
|
16 |
-
|
17 |
-
-
|
18 |
-
- correctly form a communication strategy with the customer
|
19 |
-
- estimate the income that the customer can bring to the company in the future, based on the profitability of the products in which he is interested (Customer lifetime value - CLTV).
|
20 |
-
|
21 |
-
To solve such problems, various data about the customer are usually used:
|
22 |
-
- customer profile;
|
23 |
-
- history of previous purchases and communications;
|
24 |
-
- transactional activity;
|
25 |
-
- geo-information about places of permanent or temporary residence;
|
26 |
-
- etc.;
|
27 |
-
|
28 |
-
Of particular importance are the data characterizing the patterns of client behavior (chains of events), as they help to understand the patterns in the client's actions, to assess the dynamics of changes in his behavior. The combined use of behavioral data from various sources helps to more fully describe the client in terms of predicting his needs, which, in turn, creates the task of the most effective combination of various modalities to improve the performance and quality of the developed model.
|
29 |
|
30 |
# Data
|
31 |
-
The dataset consists of anonymized historical data, which contains the following information
|
|
|
|
|
|
|
32 |
|
33 |
Objective: To predict for each user the taking/not taking of each of the four products within a month after the reporting date, historical data for them is in targets
|
34 |
|
|
|
|
|
35 |
```
|
36 |
client_split Desc: Splitting clients into folds
|
37 |
|-- client_id: str Desc: Client id
|
@@ -42,6 +27,7 @@ detail
|
|
42 |
|-- client_id: str Desc: Client id
|
43 |
|-- event_time: timestamp Desc: Dialog's date
|
44 |
|--embedding: array float Desc: Dialog's embeddings
|
|
|
45 |
|-- geo Desc: Geo activity
|
46 |
|-- client_id: str Desc: Client id
|
47 |
|-- event_time: timestamp Desc: Event datetime
|
@@ -71,6 +57,7 @@ ptls Desc: Data is similar with detail but in pytorch-lifestream format https://
|
|
71 |
|-- client_id: str Desc: Client id
|
72 |
|-- event_time: Array[timestamp] Desc: Dialog's date
|
73 |
|-- embedding: Array[float] Desc: Dialog's embedding
|
|
|
74 |
|-- geo Desc: Geo activity
|
75 |
|-- client_id: str Desc: Client id
|
76 |
|-- event_time: Array[timestamp] Desc: Event datetime
|
@@ -104,6 +91,7 @@ targets
|
|
104 |
|-- trans_count: int Desc: Number of transactions
|
105 |
|-- diff_trans_date: int Desc: Time difference between transactions
|
106 |
|-- client_id: str Desc: Client id
|
|
|
107 |
```
|
108 |
|
109 |
# Load dataset
|
@@ -113,7 +101,7 @@ Download a single file with datasets
|
|
113 |
```python
|
114 |
from datasets import load_dataset
|
115 |
|
116 |
-
dataset = load_dataset("ai-lab/MBD", 'client_split')
|
117 |
```
|
118 |
|
119 |
Download a single file with huggingface_hub
|
@@ -145,17 +133,6 @@ snapshot_download(repo_id="ai-lab/MBD")
|
|
145 |
```
|
146 |
|
147 |
# Citation
|
148 |
-
We have a [paper](https://arxiv.org/abs/2002.08232) you can cite it:
|
149 |
```
|
150 |
-
|
151 |
-
Babaev_2022, series={SIGMOD/PODS ’22},
|
152 |
-
title={CoLES: Contrastive Learning for Event Sequences with Self-Supervision},
|
153 |
-
url={http://dx.doi.org/10.1145/3514221.3526129},
|
154 |
-
DOI={10.1145/3514221.3526129},
|
155 |
-
booktitle={Proceedings of the 2022 International Conference on Management of Data},
|
156 |
-
publisher={ACM},
|
157 |
-
author={Babaev, Dmitrii and Ovsov, Nikita and Kireev, Ivan and Ivanova, Maria and Gusev, Gleb and Nazarov, Ivan and Tuzhilin, Alexander},
|
158 |
-
year={2022},
|
159 |
-
month=jun, collection={SIGMOD/PODS ’22}
|
160 |
-
}
|
161 |
```
|
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
+
viewer: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
---
|
5 |
+
# Dataset summary
|
6 |
+
This dataset is designed to assist in predicting a customer's propensity to purchase various products within a month following the reporting date. The dataset includes anonymized historical data on transaction activity, dialog embeddings, and geo-activity for some bank clients over 12 months.
|
7 |
+
|
8 |
+
Reduced dataset version is avaliable as [MBD-mini](https://huggingface.co/datasets/ai-lab/MBD-mini). The mini MBD dataset contains a reduced subset of the data, making it easier and faster to work with during the development and testing phases. It includes a smaller number of clients and a shorter time span but maintains the same structure and features as the full dataset. MBD-mini has data based on 10% of unique clients listed in MBD.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
# Data
|
11 |
+
The dataset consists of anonymized historical data, which contains the following information for some of the Bank's clients over 12 months:
|
12 |
+
- transaction activity (transactions) Details about past transactions including amounts, types, and dates;
|
13 |
+
- dialog embeddings (dialogs) Embeddings from customer interactions, which capture semantic information from dialogues;
|
14 |
+
- geo-activity (geostream) Location-based data representing clients' geographic activity patterns.
|
15 |
|
16 |
Objective: To predict for each user the taking/not taking of each of the four products within a month after the reporting date, historical data for them is in targets
|
17 |
|
18 |
+
The dataset is divided into 5 folds based on client_split (which consist of an equal number of unique clients) for cross-validation purposes.
|
19 |
+
|
20 |
```
|
21 |
client_split Desc: Splitting clients into folds
|
22 |
|-- client_id: str Desc: Client id
|
|
|
27 |
|-- client_id: str Desc: Client id
|
28 |
|-- event_time: timestamp Desc: Dialog's date
|
29 |
|--embedding: array float Desc: Dialog's embeddings
|
30 |
+
|-- fold: int
|
31 |
|-- geo Desc: Geo activity
|
32 |
|-- client_id: str Desc: Client id
|
33 |
|-- event_time: timestamp Desc: Event datetime
|
|
|
57 |
|-- client_id: str Desc: Client id
|
58 |
|-- event_time: Array[timestamp] Desc: Dialog's date
|
59 |
|-- embedding: Array[float] Desc: Dialog's embedding
|
60 |
+
|-- fold: int
|
61 |
|-- geo Desc: Geo activity
|
62 |
|-- client_id: str Desc: Client id
|
63 |
|-- event_time: Array[timestamp] Desc: Event datetime
|
|
|
91 |
|-- trans_count: int Desc: Number of transactions
|
92 |
|-- diff_trans_date: int Desc: Time difference between transactions
|
93 |
|-- client_id: str Desc: Client id
|
94 |
+
|-- fold: int
|
95 |
```
|
96 |
|
97 |
# Load dataset
|
|
|
101 |
```python
|
102 |
from datasets import load_dataset
|
103 |
|
104 |
+
dataset = load_dataset("ai-lab/MBD", data_files='client_split.tar.gz')
|
105 |
```
|
106 |
|
107 |
Download a single file with huggingface_hub
|
|
|
133 |
```
|
134 |
|
135 |
# Citation
|
|
|
136 |
```
|
137 |
+
TBD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
```
|