loan-application-dataset
收藏资源简介:
该数据集包含LendingClub平台2007年至2018年期间的个人贷款申请与发放记录,源自Kaggle,由BuildersLab社区用于信用风险违约项目。数据集的目的是构建一个可解释的信用风险模型,预测个人贷款申请是否会违约,该模型仅使用贷款发放时可获得的借款人和贷款特征。数据集总样本数介于100万到1000万之间,属于表格分类任务。数据分为多个配置:default配置包含原始数据,按train、validation、test三个切分以parquet格式存储;feature_engineered配置包含经过特征工程处理后的数据,同样按三个切分存储;此外还包含数据字典摘要、缺失值摘要以及手动审查结果等CSV文件。数据字典文件详细记录了每个变量的定义、缺失值统计、缺失率标签以及是否保留、是否在申请时可用等手动审核信息。数据集适用于金融领域的信用风险评估、违约预测等机器学习任务。
This dataset contains personal loan application and issuance records from the LendingClub platform between 2007 and 2018, sourced from Kaggle and used by the BuildersLab community for a credit risk default project. The dataset aims to build an interpretable credit risk model to predict whether a personal loan application will default, using only borrower and loan features available at the time of loan issuance. The total number of samples ranges from 1 million to 10 million, and it belongs to a tabular classification task. The data is divided into multiple configurations: the default configuration contains raw data, stored in parquet format with three splits (train, validation, test); the feature_engineered configuration contains data after feature engineering, also stored in three splits. Additionally, there are CSV files including data dictionary summaries, missing value summaries, and manual review results. The data dictionary file details the definition of each variable, missing value statistics, missing rate labels, and manual review information such as whether the variable is retained and whether it is available at application time. The dataset is suitable for machine learning tasks in the financial domain, such as credit risk assessment and default prediction.
LendingClub Loan Data (2007-2018) 数据集概述
基本信息
- 数据集名称:LendingClub Loan Data (2007-2018)
- 许可证:CC0-1.0(公有领域)
- 语言:英语
- 任务类型:表格分类
- 标签:数据科学、机器学习、风险预测、金融
- 数据规模:100万至1000万条记录
- 来源:源自Kaggle的 LendingClub 全部贷款数据
项目背景
该数据集由 BuildersLab 的 Credit Risk Default 项目使用,用于构建一个可解释的模型来预测个人贷款违约概率。该项目为一个虚构银行(NorthBay Bank)案例研究服务,通过交互式审查仪表板向信贷官员呈现预测结果仅供信贷审批时参考,不涉及信用卡产品。数据仅使用贷款发放时可获得的借款人和贷款特征。
数据集划分
数据集提供两种版本,均包含训练集、验证集和测试集(以Parquet格式存储):
| 配置名称 | 说明 | 文件路径 |
|---|---|---|
| default(默认) | 经过清洗、目标筛选、去泄漏、缺失值填充后的数据(特征工程前) | data/before_feature_engineering/ |
| feature_engineered | 与上述相同划分,但已进行特征工程(增加新特征,合并或删除部分原始列) | data/after_feature_engineering/ |
可通过Hugging Face datasets 库按配置名称加载对应版本。
数据字典与辅助文件
数据字典参考文件存放于 data_dictionary/ 目录,各文件独立配置:
- data_dictionary_summary.csv:每列一行,包含变量名、官方列定义、缺失值数量、缺失百分比及缺失程度标签
- missing_values_summary.csv:各列缺失值数量与百分比汇总,用于建模前识别和删除结构性缺失列
- missing_and_leakage_manual_review.csv:全部151个原始列的人工审查记录,包含是否保留、原因、以及该列是申请时可用(贷前)还是仅在贷款生命周期内可用(贷后)
- missing_values_decisions.xlsx:经泄漏审查后保留的87列的逐列插补决策(中位数填充、中位数加缺失标记列、众数加标记、或删除行),附机制与理由
- feature_engineering_data_dictionary.xlsx:4个工作表,涵盖特征工程后数据的字典、各列统计信息(含数值列的极值/均值/标准差/分位数、类别列的unique/top/freq、全部列的缺失计数)、特征间完整相关矩阵,以及与违约目标的相关系数
分析输出物
outputs/ 目录存放分析制品(不属于模型就绪数据集),目前包括特征间相关矩阵CSV文件及其热力图PNG。后续笔记本将补充SHAP图与评估曲线等产出。
相关人员
| 角色 | 姓名 |
|---|---|
| 项目负责人兼数据科学家 | Nafisat Ibrahim |
| 数据科学家 | Marienne Dosso |
| 数据科学家 | Bintou Ba |
相关链接
- 项目仓库:https://github.com/BuildersLab/Credit-Risk-Default
- 在线演示:https://portfolio-risk-prediction.streamlit.app/
- 数据源:https://www.kaggle.com/datasets/wordsforthewise/lending-club




