Commit ·
c538436
1
Parent(s): d776310
Add dataset card and processed train/test files
Browse files- .gitattributes +1 -0
- README.md +47 -0
- processed/test_ready.csv +3 -0
- processed/train_ready.csv +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
*.csv filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,50 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-classification
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- mortgage
|
| 9 |
+
- loan-performance
|
| 10 |
+
- fannie-mae
|
| 11 |
+
- finance
|
| 12 |
+
- data-mining
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10M<n<100M
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# Fannie Mae Single-Family Loan Performance Dataset
|
| 18 |
+
|
| 19 |
+
This dataset contains Fannie Mae Single-Family Loan Performance data across multiple quarters, used for mortgage default prediction and loan performance analysis.
|
| 20 |
+
|
| 21 |
+
## Dataset Structure
|
| 22 |
+
|
| 23 |
+
### Raw Data (`raw/`)
|
| 24 |
+
| File | Period | Size |
|
| 25 |
+
|------|--------|------|
|
| 26 |
+
| `2000Q1.csv` | Q1 2000 | ~2.3 GB |
|
| 27 |
+
| `2005Q1.csv` | Q1 2005 | ~6.5 GB |
|
| 28 |
+
| `2008Q1.csv` | Q1 2008 | ~5.9 GB |
|
| 29 |
+
| `2013Q1.csv` | Q1 2013 | ~17.2 GB |
|
| 30 |
+
| `2017Q1.csv` | Q1 2017 | ~8.4 GB |
|
| 31 |
+
| `2020Q1.csv` | Q1 2020 | ~8.2 GB |
|
| 32 |
+
|
| 33 |
+
### Processed Data (`processed/`)
|
| 34 |
+
| File | Description | Size |
|
| 35 |
+
|------|-------------|------|
|
| 36 |
+
| `train_ready.csv` | Training set (preprocessed & feature-engineered) | ~80 MB |
|
| 37 |
+
| `test_ready.csv` | Test set (preprocessed & feature-engineered) | ~75 MB |
|
| 38 |
+
|
| 39 |
+
## Source
|
| 40 |
+
Data sourced from [Fannie Mae Single-Family Loan Performance Data](https://capitalmarkets.fanniemae.com/credit-risk-transfer/single-family-credit-risk-transfer/fannie-mae-single-family-loan-performance-data).
|
| 41 |
+
|
| 42 |
+
## Usage
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
import pandas as pd
|
| 46 |
+
|
| 47 |
+
# Load processed data directly from Hugging Face
|
| 48 |
+
train = pd.read_csv("https://huggingface.co/datasets/Shlok112003/Fannie_Mae_Single-Family_Loan_Performance/resolve/main/processed/train_ready.csv")
|
| 49 |
+
test = pd.read_csv("https://huggingface.co/datasets/Shlok112003/Fannie_Mae_Single-Family_Loan_Performance/resolve/main/processed/test_ready.csv")
|
| 50 |
+
```
|
processed/test_ready.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fb475dbb6147abf5ff74e79958f9f28d190f36ab1d8b0e73dded0fda8546517
|
| 3 |
+
size 74828430
|
processed/train_ready.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5c96cb4576c307181b1f784d2cf1f5d113f94b616b46149046dbabc49d1077a
|
| 3 |
+
size 80040772
|