nafisatibrahim commited on
Commit
fd6bbae
·
verified ·
1 Parent(s): 71c5405

Document missing-value decisions and manual review tables

Browse files
Files changed (1) hide show
  1. README.md +12 -2
README.md CHANGED
@@ -17,6 +17,8 @@ configs:
17
  data_files: data_dictionary/data_dictionary_summary.csv
18
  - config_name: missing_values_summary
19
  data_files: data_dictionary/missing_values_summary.csv
 
 
20
  ---
21
 
22
  ![LendingClub Loan Data banner](assets/banner.svg)
@@ -48,11 +50,19 @@ This dataset backs **Credit Risk Default**: an explainable credit-risk platform
48
 
49
  ## Data Dictionary
50
 
51
- Two project-generated summary files under `data_dictionary/`, produced while cleaning
52
- the raw LendingClub CSV (see [`notebooks/00_cleaning.ipynb`](https://github.com/BuildersLab/Credit-Risk-Default/blob/main/notebooks/00_cleaning.ipynb)), not Kaggle's raw column list. They have different columns, so each is declared as its own config above (see `configs:` in the metadata) rather than being auto-merged.
53
 
54
  - **`data_dictionary_summary.csv`**: one row per column: `Variable`, `Description`
55
  (LendingClub's official column definition), `Missing Values` (count),
56
  `Percentage (%)`, and `Missingness Label` (e.g. "Very High (95-100%)").
57
  - **`missing_values_summary.csv`**: missing-value counts and percentages per column,
58
  used to identify and drop columns with structural missingness before modeling.
 
 
 
 
 
 
 
 
 
 
17
  data_files: data_dictionary/data_dictionary_summary.csv
18
  - config_name: missing_values_summary
19
  data_files: data_dictionary/missing_values_summary.csv
20
+ - config_name: missing_and_leakage_manual_review
21
+ data_files: data_dictionary/missing_and_leakage_manual_review.csv
22
  ---
23
 
24
  ![LendingClub Loan Data banner](assets/banner.svg)
 
50
 
51
  ## Data Dictionary
52
 
53
+ Reference files under `data_dictionary/`, produced while cleaning the raw LendingClub CSV (see [`notebooks/00_cleaning.ipynb`](https://github.com/BuildersLab/Credit-Risk-Default/blob/main/notebooks/00_cleaning.ipynb)), not Kaggle's raw column list. Each has a different schema, so each CSV is declared as its own config above (see `configs:` in the metadata) rather than being auto-merged.
 
54
 
55
  - **`data_dictionary_summary.csv`**: one row per column: `Variable`, `Description`
56
  (LendingClub's official column definition), `Missing Values` (count),
57
  `Percentage (%)`, and `Missingness Label` (e.g. "Very High (95-100%)").
58
  - **`missing_values_summary.csv`**: missing-value counts and percentages per column,
59
  used to identify and drop columns with structural missingness before modeling.
60
+ - **`missing_and_leakage_manual_review.csv`**: the full manual review of all 151
61
+ original columns, `Keep` (boolean), `Reason`, and whether each column is
62
+ available at time of application (pre-loan) versus only during the loan
63
+ lifecycle (post-origination). This is the source review behind the leakage
64
+ and structural-missingness decisions in `00_cleaning.ipynb`.
65
+ - **`missing_values_decisions.xlsx`**: per-column imputation decision for the 87
66
+ columns that survive the leakage/keep review (median fill, median plus a
67
+ missing-flag column, mode plus flag, or drop rows), with the mechanism and
68
+ reasoning behind each call.