task_categories:tabular-classification size_categories:n<1K language:en license:cc breast tabular_classification binary_classification region:us
---
language:
- en
tags:
- breast
- tabular_classification
- binary_classification
pretty_name: German
size_categories:
- n<1K
task_categories:
- tabular-classification
configs:
- encoding
- loan
license: cc
---
# German
The [German dataset](https://archive.ics.uci.edu/ml/datasets/Statlog+%28German+Credit+Data%29) from the [UCI ML repository](https://archive.ics.uci.edu/ml/datasets).
Dataset on loan grants to customers.


# Configurations and tasks
| **Configuration** | **Task**                  | Description                                                     |
|-------------------|---------------------------|-----------------------------------------------------------------|
| encoding          |                           | Encoding dictionary showing original values of encoded features.|
| loan              | Binary classification     | Has the loan request been accepted?                             |   

# Usage
```python
from datasets import load_dataset

dataset = load_dataset("mstz/german", "loan")["train"]
```

# Features
|**Feature**                         |**Type**   |
|------------------------------------|-----------|
|`checking_account_status`           | `int8`    |
|`account_life_in_months`            | `int8`    |
|`credit_status`                     | `int8`    |
|`loan_purpose`                      | `string`  |
|`current_credit`                    | `int32`   |
|`current_savings`                   | `int8`    |
|`employed_since`                    | `int8`    |
|`installment_rate_percentage`       | `int8`    |
|`sex`                               | `int8`    |
|`marital_status`                    | `string`  |
|`guarantors`                        | `int8`    |
|`years_living_in_current_residence` | `int8`    |
|`age`                               | `int8`    |
|`installment_plans`                 | `string`  |
|`housing_status`                    | `int8`    |
|`nr_credit_accounts_in_bank`        | `int8`    |
|`job_status`                        | `int8`    |
|`number_of_people_in_support`       | `int8`    |
|`has_registered_phone_number`       | `int8`    |
|`is_foreign`                        | `int8`    |