The viewer is disabled because this dataset repo requires arbitrary Python code execution. Please consider removing the loading script and relying on automated data support (you can use convert_to_parquet from the datasets library). If this is not possible, please open a discussion for direct help.

YAML Metadata Error: "configs[0]" must be of type object
YAML Metadata Error: "configs[1]" must be of type object

Bank

The Bank dataset from the UCI ML repository. 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

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
Downloads last month
68