Datasets:
File size: 2,225 Bytes
e4376c6 8e8780b 66b37b1 a538e1f 66b37b1 8e8780b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
---
language:
- en
tags:
- compas
- tabular_classification
- binary_classification
pretty_name: Bank
size_categories:
- 1K<n<10K
task_categories: # Full list at https://github.com/huggingface/hub-docs/blob/main/js/src/lib/interfaces/Types.ts
- tabular-classification
configs:
- encoding
- subscription
---
# Bank
The [Bank dataset](https://archive.ics.uci.edu/ml/datasets/bank+marketing) from the [UCI ML repository](https://archive.ics.uci.edu/ml/datasets).
Potential clients are contacted by a bank during a second advertisement campaign.
This datasets records the customer, the interaction with the AD campaign, and if they subscribed to a proposed bank plan or not.
# Configurations and tasks
| **Configuration** | **Task** | Description |
|-------------------|---------------------------|-----------------------------------------------------------------|
| encoding | | Encoding dictionary showing original values of encoded features.|
| subscription | Binary classification | Has the customer subscribed to a bank plan? |
# Usage
```python
from datasets import load_dataset
dataset = load_dataset("mstz/bank", "subscription")["train"]
```
# Features
| **Name** |**Type** |
|-----------------------------------------------|-----------|
|`age` |`int64` |
|`job` |`string` |
|`marital_status` |`string` |
|`education` |`int8` |
|`has_defaulted` |`int8` |
|`account_balance` |`int64` |
|`has_housing_loan` |`int8` |
|`has_personal_loan` |`int8` |
|`month_of_last_contact` |`string` |
|`number_of_calls_in_ad_campaign` |`string` |
|`days_since_last_contact_of_previous_campaign` |`int16` |
|`number_of_calls_before_this_campaign` |`int16` |
|`successfull_subscription` |`int8` |
|