Skip to main content
CARLA HQ
Finance & Banking Finance & Banking use casesNACE K64.19Binary ClassificationTarget: credit_risk_classificationOpenML #31 ↗

Credit G

The German Credit (Credit G) dataset contains 1,000 retail banking records across 20 financial, socio-demographic, and credit history attributes designed to predict individual loan default risk ('good' vs. 'bad' credit).

✨ Try in CarlaInstall Chrome Extension ↗100% In-Browser WebGPU • Zero Cloud Upload
1,000Records (Rows)
20Predictive Features
7 / 14Numeric / Categorical
0.0%Missing Value Ratio
0.20161 - AUC Error
1.41sWebGPU Mean Split
BUSINESS CONTEXT & OBJECTIVEConsumer Lending & Retail Banking (K64.19)

Business Objective: Credit G

01Business Context

Retail banks and consumer credit institutions evaluate loan applications to allocate personal loans, automotive financing, and consumer credit while minimizing balance sheet risk and non-performing loans (NPLs).

02Analytical Objective

Classify credit applicants into 'good' (creditworthy) or 'bad' (high risk of default) risk profiles prior to capital disbursement.

03Economic & Decision Impact

Optimizing credit scoring delivers immediate capital preservation and higher loan acceptance rates. Asymmetric risk weighting is critical: misclassifying a defaulting customer as good incurs 5x the loss of erroneously rejecting a creditworthy applicant (loss of interest margin vs. full principal loss).

ML Benchmark Narrative

On this classic 1,000-row benchmark, traditional gradient-boosted trees (XGBoost, LightGBM, CatBoost) achieve AUC-ROC scores between 0.77 and 0.79 with extensive feature encoding and cost-matrix tuning. In-context tabular foundation models (TabICL / Carla) match or outperform these tuned baselines zero-shot directly within the context window, eliminating manual one-hot encoding for the 14 categorical features.

Source Origin:UCI Machine Learning Repository / Statlog Project / OpenML
Creator:Dr. Hans Hofmann (University of Hamburg) (1994)
License:Open Data Commons Public Domain Dedication (CC0 / Public Domain)
FEATURE SPECIFICATION & DATA DICTIONARY

Target & Feature Column Definitions

Exhaustive business definitions, measurement units, roles, and target variables across all 21 columns.

ColVariable / Feature NameRoleTypeUnit / ScaleDescription & Business Meaning
Acredit_risk_classificationCredit Risk OutcomeTARGETCAT
Binary creditworthiness evaluation: 'good' indicates timely repayment with no default; 'bad' indicates default or critical repayment delinquency.
Bchecking_account_statusChecking Account StatusFeatureCATDEM
Status of the applicant's existing checking account balance in Deutsche Mark (e.g., '<0 DM', '0<=X<200 DM', '>=200 DM', or 'no checking account').
Cloan_duration_monthsLoan DurationFeatureNUMmonths
Total requested duration and repayment period of the credit contract in months.
Dcredit_history_statusCredit HistoryFeatureCAT
Historical repayment behavior across past loans (e.g., critical/other credits existing, all loans paid back duly, existing loans paid back duly till now, delays in past payments).
Eloan_purposeLoan PurposeFeatureCAT
Stated commercial or personal purpose for borrowing funds (e.g., new car, used car, furniture/equipment, radio/television, domestic appliances, repairs, education, business).
Floan_amount_demCredit AmountFeatureNUMDEM
Total principal credit amount requested and disbursed.
Gsavings_balance_bracketSavings Account BalanceFeatureCATDEM
Categorized tier of liquid savings balance or bond holdings (e.g., '<100 DM', '100<=X<500 DM', '500<=X<1000 DM', '>=1000 DM', or 'no known savings').
Hemployment_duration_yearsEmployment TenureFeatureCATyears
Duration of continuous employment with current employer (e.g., 'unemployed', '<1 year', '1<=X<4 years', '4<=X<7 years', '>=7 years').
Iinstallment_rate_pct_incomeInstallment Rate (% Disposable Income)FeatureNUM%
Monthly loan installment obligation represented as a percentage of applicant disposable net income.
Jmarital_status_and_genderPersonal Status & SexFeatureCAT
Combined demographic attribute representing gender and marital/custody status (e.g., 'male single', 'female div/dep/mar', 'male mar/wid', 'male div/sep').
Kguarantor_co_debtor_statusOther Debtors / GuarantorsFeatureCAT
Indicates whether additional parties are liable for the debt facility (e.g., 'none', 'co-applicant', 'guarantor').
Lresidence_duration_yearsYears at Current ResidenceFeatureNUMyears
Number of years the borrower has continuously lived at their current residential address.
Mmost_valuable_asset_typeCollateral Property MagnitudeFeatureCAT
Highest-value asset category owned by the borrower (e.g., 'real estate', 'building society savings / life insurance', 'car or other', 'unknown / no property').
Nborrower_age_yearsAgeFeatureNUMyears
Age of the primary credit applicant in chronological years.
Oother_installment_plansOther Payment PlansFeatureCAT
Existing installment obligations held with competing financial institutions or retail stores (e.g., 'bank', 'stores', 'none').
Phousing_tenure_typeHousing TypeFeatureCAT
Applicant living and property arrangement (e.g., 'rent', 'own', 'for free').
Qnum_existing_credits_at_bankExisting Bank CreditsFeatureNUMcount
Number of active credit lines and loans already registered at this specific bank.
Remployment_qualification_levelEmployment Qualification LevelFeatureCAT
Professional employment classification (e.g., 'unemployed/unskilled non-resident', 'unskilled resident', 'skilled employee/official', 'management/self-employed/highly qualified employee').
Snum_maintenance_liable_dependentsNumber of DependentsFeatureNUMcount
Number of individuals financially dependent on the applicant for maintenance.
Tregistered_telephone_flagTelephone RegisteredFeatureCAT
Indicates whether a landline telephone is registered in the applicant's name ('yes' vs. 'none').
Uis_foreign_workerForeign Worker StatusFeatureCAT
Indicator of whether the applicant is classified as a foreign worker ('yes' vs. 'no').
DATASET PREVIEW

Interactive Data Table

Explore rows, feature values, and target labels for Credit G.

Loading dataset...
LOCAL EXECUTION TELEMETRY

TabICLv2 WebGPU Benchmark Results

Complete performance metrics on persisted IID or non-IID evaluation splits, executed 100% locally in the browser sandbox.

Mean Split Latency?Mean wall-clock execution time per persisted evaluation split running 100% locally via WebGPU inside Chrome.Explore Latency Guide →
1.41s30 splits • 8 ensembles/split
Total Evaluation Runtime?Total wall-clock duration across all selected splits, including in-context encoding, WebGPU shader execution, and result aggregation.Explore Split Protocol →
42.41sIncludes warmup & sync
Evaluation Protocol?Precomputed row indices ensure the browser and Python runners evaluate identical out-of-sample observations without leakage.Explore Split Protocol →
10×3 SplitsRepeated IID • 30 total
TabICLv2 Score?Primary task performance score (1 - AUC Error) achieved by TabICLv2 across out-of-sample evaluation splits.Explore Metric Formula →
0.20161 - AUC Error
Evaluation SplitTrain RowsTest Rows
Split Duration?Wall-clock inference time taken for this evaluation split running 100% locally via WebGPU.Learn more →
Accuracy?Proportion of correct test predictions across all classes.Google ML Guide & Details →
ROC-AUC?Area under the ROC curve evaluating ranking capability across all thresholds.Google ML Guide & Details →
F1 Score?Harmonic mean of Precision and Recall, robust against class imbalance.Learn more →
Precision?Proportion of predicted positives that were actually positive.Google ML Guide & Details →
Recall?Proportion of actual positive cases successfully captured.Google ML Guide & Details →
R1 / F16663341.46s77.84%0.85540.85140.80300.9060
R1 / F26673331.38s73.57%0.77260.82040.78210.8627
R1 / F36673331.38s78.68%0.82320.85880.80000.9270
R2 / F16663341.39s74.55%0.74310.82830.78540.8761
R2 / F26673331.41s76.88%0.81790.84380.80000.8927
R2 / F36673331.42s76.58%0.83060.84400.79030.9056
R3 / F16663341.39s75.45%0.77340.83270.79690.8718
R3 / F26673331.40s75.08%0.79580.83500.77780.9013
R3 / F36673331.40s77.18%0.81700.84860.79180.9142
R4 / F16663341.41s77.54%0.78950.85030.79780.9103
R4 / F26673331.38s78.08%0.81370.85490.79630.9227
R4 / F36673331.39s76.28%0.80620.84100.79170.8970
R5 / F16663341.40s74.55%0.77230.83170.77490.8974
R5 / F26673331.41s74.77%0.80470.83200.77900.8927
R5 / F36673331.44s76.58%0.78480.84150.79920.8884
R6 / F16663341.39s73.05%0.76270.81850.77480.8675
R6 / F26673331.41s75.98%0.77820.83740.79540.8841
R6 / F36673331.44s74.47%0.79740.83230.77010.9056
R7 / F16663341.44s75.45%0.80230.83400.79230.8803
R7 / F26673331.41s75.38%0.79000.82990.80320.8584
R7 / F36673331.42s77.48%0.80020.85090.79260.9185
R8 / F16663341.39s78.14%0.81290.85370.80380.9103
R8 / F26673331.42s78.68%0.81860.85600.81150.9056
R8 / F36673331.39s76.88%0.78320.84440.79770.8970
R9 / F16663341.41s79.34%0.80830.86230.80900.9231
R9 / F26673331.41s74.77%0.78460.82430.80410.8455
R9 / F36673331.40s76.88%0.79940.84810.78470.9227
R10 / F16663341.45s76.35%0.77820.83780.80630.8718
R10 / F26673331.42s78.08%0.80730.85540.79410.9270
R10 / F36673331.52s77.48%0.82560.85030.79480.9142
Mean ± Std1.41s76.40% ± 1.58%0.798 ± 0.0230.842 ± 0.0120.7930.897
UNIFIED BENCHMARK LEADERBOARD

Foundation Models vs Traditional ML Baselines

Side-by-side evaluation of our in-browser Carla engine (WebGPU), open-source tabular foundation models, and OpenML baselines.

RankAlgorithm / ModelModel FamilyRuntime
Predictive Accuracy?Proportion of correct test predictions across cross-validation splits.Google ML Guide & Details →
ROC-AUC?Area under the ROC curve evaluating ranking capability.Learn more →
F-Measure?Harmonic mean of precision and recall.Learn more →
Reference / Repo
#1Google TabFM v1.0Tabular Foundation ModelPyTorch/Python76.92%0.80620.8439google-research/tabfm ↗
#2RandomForestRandom ForestPython76.90%0.77810.7490OpenML #573537 ↗
#3EXAONE TabularTabular Foundation ModelPyTorch/Python76.60%0.80360.8424LGAI-Research/EXAONE-Tabular ↗
#4Streaming nanotabiclTabular Foundation ModelPyTorch/Python76.50%0.79840.8424soda-inria/nanotabicl ↗
#5Full TabICLv2 (PyTorch Reference)Tabular Foundation ModelPyTorch/Python76.50%0.79840.8424soda-inria/tabicl ↗
#6Carla Engine (TabICLv2 WebGPU)Tabular Foundation ModelBrowser76.40%0.79830.8417100% In-Browser
#7nanotabicl VanillaTabular Foundation ModelPyTorch/Python76.36%0.79800.8414soda-inria/nanotabicl ↗
#8TabPFN v3Tabular Foundation ModelPyTorch/Python76.04%0.79690.8385PriorLabs/tabpfn ↗
#9NaiveBayesNaive BayesPython75.30%0.78150.7452OpenML #278 ↗
#10AttributeSelectedClassifier GainRatioAttributeEval Ranker NaiveBayesNaive BayesPython75.30%0.78150.7452OpenML #565955 ↗
#11NaiveBayesUpdateableNaive BayesPython75.30%0.78150.7452OpenML #573619 ↗
#12SMO PolyKernelSupport Vector Machine (SVM)Python75.10%0.66880.7399OpenML #338 ↗
#13SMO PolyKernelSupport Vector Machine (SVM)Python75.10%0.66880.7399OpenML #550232 ↗
#14AttributeSelectedClassifier GainRatioAttributeEval Ranker SMOSupport Vector Machine (SVM)Python75.10%0.66880.7399OpenML #565802 ↗
#15RandomRulesMachine Learning ModelPython74.60%0.63950.7177OpenML #54760 ↗
#16AttributeSelectedClassifier A1DEMachine Learning ModelPython74.40%0.74620.7226OpenML #575905 ↗
#17AttributeSelectedClassifier Bagging REPTreeDecision TreePython74.20%0.75120.7262OpenML #575630 ↗
STATISTICAL DISTRIBUTIONS

Variable Schema & Summary Distributions

Observed numerical ranges, category cardinalities, missing rates, and sample values across 1,000 rows.

ColVariable NameTypeMissingDistinctSummary Stats / DistributionSample Values
Acredit_risk_classificationTARGETCAT022 cats: good, badgoodbadgood
Bchecking_account_statusCAT044 cats: no checking, <0, 0<=X<200 +1 more<00<=X<200no checking
Cloan_duration_monthsNUM033[4, 72] μ=20.9 σ=12.164812
Dcredit_history_statusCAT055 cats: existing paid, critical/other existing credit, delayed previously +2 morecritical/other existing creditexisting paidcritical/other existing credit
Eloan_purposeCAT01010 cats: radio/tv, new car, furniture/equipment +7 moreradio/tvradio/tveducation
Floan_amount_demNUM0921[250, 18424] μ=3271.3 σ=2821.3116959512096
Gsavings_balance_bracketCAT055 cats: <100, no known savings, 100<=X<500 +2 moreno known savings<100<100
Hemployment_duration_yearsCAT055 cats: 1<=X<4, >=7, 4<=X<7 +2 more>=71<=X<44<=X<7
Iinstallment_rate_pct_incomeNUM04[1, 4] μ=3.0 σ=1.1422
Jmarital_status_and_genderCAT044 cats: male single, female div/dep/mar, male mar/wid +1 moremale singlefemale div/dep/marmale single
Kguarantor_co_debtor_statusCAT033 cats: none, guarantor, co applicantnonenonenone
Lresidence_duration_yearsNUM04[1, 4] μ=2.8 σ=1.1423
Mmost_valuable_asset_typeCAT044 cats: car, real estate, life insurance +1 morereal estatereal estatereal estate
Nborrower_age_yearsNUM053[19, 75] μ=35.5 σ=11.4672249
Oother_installment_plansCAT033 cats: none, bank, storesnonenonenone
Phousing_tenure_typeCAT033 cats: own, rent, for freeownownown
Qnum_existing_credits_at_bankNUM04[1, 4] μ=1.4 σ=0.6211
Remployment_qualification_levelCAT044 cats: skilled, unskilled resident, high qualif/self emp/mgmt +1 moreskilledskilledunskilled resident
Snum_maintenance_liable_dependentsNUM02[1, 2] μ=1.2 σ=0.4112
Tregistered_telephone_flagCAT022 cats: none, yesyesnonenone
Uis_foreign_workerCAT022 cats: yes, noyesyesyes
FREQUENTLY ASKED QUESTIONS

Frequently Asked Questions: Credit G

Common questions regarding the Credit G dataset, machine learning task formulations, and in-browser tabular inference.

What is the German Credit (Credit G) dataset used for?

The German Credit dataset is a canonical benchmark for evaluating credit risk classification, cost-sensitive learning algorithms, and fairness-aware machine learning in consumer lending.

Can I run zero-server predictions on this dataset in Google Sheets?

Yes, Carla HQ enables zero-server in-context tabular prediction directly in spreadsheets using TabICL foundation models without building pipelines or training infrastructure.

What machine learning models perform best on the German Credit dataset?

Gradient boosting frameworks (LightGBM, XGBoost, CatBoost) and modern in-context tabular foundation models (TabICL / Carla) achieve leading performance (0.78-0.80 AUC-ROC) on this dataset.

LIVE EVALUATION IN GOOGLE SHEETS

Test TabICLv2 on Credit G Yourself

Open the pre-loaded Google Sheet and let Carla configure the target and task for local, zero-cloud tabular machine learning.

Step 1

Launch Carla

Click once to open the spreadsheet and Carla side panel together.

Step 2

Review the Setup

Carla selects the dataset target and task from this page automatically.

Step 3

Evaluate & Predict

Run predictions and compute metrics with zero server uploads.

Provenance & Attribution

https://archive.ics.uci.edu/ml/citation_policy.html

License: PublicData Source: OpenMLOpenML Page: https://www.openml.org/d/31