Update README.md
Browse files123456789101112131415161718192021222324252627282930313233343536374 unmodified lines42434445464723 unmodified lines71727374757627 unmodified lines1041051061071081093 unmodified lines11311411511611711811925 unmodified lines145146147148149150151152153154155156157158159160161---license: cc-by-4.0configs:- config_name: client_splitdata_files: "client_split.tar.gz"- config_name: detaildata_files: "detail.tar.gz"- config_name: ptlsdata_files: "ptls.tar.gz"- config_name: targetsdata_files: "targets.tar.gz"---# IntroPredicting a customer's propensity to purchase a product is an important task for many companies, helping to:- assess the customer's needs, form their product profile;- improve the quality of recommendations, form package offers, form individual conditions;- correctly form a communication strategy with the customer- 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).To solve such problems, various data about the customer are usually used:- customer profile;- history of previous purchases and communications;- transactional activity;- geo-information about places of permanent or temporary residence;- etc.;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.# DataThe dataset consists of anonymized historical data, which contains the following information: transaction activity (transactions), dialog embeddings (dialogs), geo-activity (geostream) for some of the Bank's clients over 12 months.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```client_split Desc: Splitting clients into folds|-- client_id: str Desc: Client id4 unmodified lines|-- client_id: str Desc: Client id|-- event_time: timestamp Desc: Dialog's date|--embedding: array float Desc: Dialog's embeddings|-- geo Desc: Geo activity|-- client_id: str Desc: Client id|-- event_time: timestamp Desc: Event datetime23 unmodified lines|-- client_id: str Desc: Client id|-- event_time: Array[timestamp] Desc: Dialog's date|-- embedding: Array[float] Desc: Dialog's embedding|-- geo Desc: Geo activity|-- client_id: str Desc: Client id|-- event_time: Array[timestamp] Desc: Event datetime27 unmodified lines|-- trans_count: int Desc: Number of transactions|-- diff_trans_date: int Desc: Time difference between transactions|-- client_id: str Desc: Client id```# Load dataset3 unmodified lines```pythonfrom datasets import load_datasetdataset = load_dataset("ai-lab/MBD", 'client_split')```Download a single file with huggingface_hub25 unmodified lines```# CitationWe have a [paper](https://arxiv.org/abs/2002.08232) you can cite it:```@inproceedings{Babaev_2022, series={SIGMOD/PODS ’22},title={CoLES: Contrastive Learning for Event Sequences with Self-Supervision},url={http://dx.doi.org/10.1145/3514221.3526129},DOI={10.1145/3514221.3526129},booktitle={Proceedings of the 2022 International Conference on Management of Data},publisher={ACM},author={Babaev, Dmitrii and Ovsov, Nikita and Kireev, Ivan and Ivanova, Maria and Gusev, Gleb and Nazarov, Ivan and Tuzhilin, Alexander},year={2022},month=jun, collection={SIGMOD/PODS ’22}}```123456789101112131415161718192021224 unmodified lines2728293031323323 unmodified lines5758596061626327 unmodified lines919293949596973 unmodified lines10110210310410510610725 unmodified lines133134135136137138---license: cc-by-4.0viewer: false---# Dataset summaryThis 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.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.# DataThe dataset consists of anonymized historical data, which contains the following information for some of the Bank's clients over 12 months:- transaction activity (transactions) Details about past transactions including amounts, types, and dates;- dialog embeddings (dialogs) Embeddings from customer interactions, which capture semantic information from dialogues;- geo-activity (geostream) Location-based data representing clients' geographic activity patterns.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 targetsThe dataset is divided into 5 folds based on client_split (which consist of an equal number of unique clients) for cross-validation purposes.```client_split Desc: Splitting clients into folds|-- client_id: str Desc: Client id4 unmodified lines|-- client_id: str Desc: Client id|-- event_time: timestamp Desc: Dialog's date|--embedding: array float Desc: Dialog's embeddings|-- fold: int|-- geo Desc: Geo activity|-- client_id: str Desc: Client id|-- event_time: timestamp Desc: Event datetime23 unmodified lines|-- client_id: str Desc: Client id|-- event_time: Array[timestamp] Desc: Dialog's date|-- embedding: Array[float] Desc: Dialog's embedding|-- fold: int|-- geo Desc: Geo activity|-- client_id: str Desc: Client id|-- event_time: Array[timestamp] Desc: Event datetime27 unmodified lines|-- trans_count: int Desc: Number of transactions|-- diff_trans_date: int Desc: Time difference between transactions|-- client_id: str Desc: Client id|-- fold: int```# Load dataset3 unmodified lines```pythonfrom datasets import load_datasetdataset = load_dataset("ai-lab/MBD", data_files='client_split.tar.gz')```Download a single file with huggingface_hub25 unmodified lines```# Citation```TBD```
README.md+16-39