How dinhlocnguyen14/dudoanvono works
This repository implements the data-preparation and validation-baseline stage of a credit-card default prediction project, not the later model-training stages. The principal workflow downloads and verifies the UCI workbook, validates and splits it, fits preprocessing on Train, generates Train-only EDA, and evaluates a constant-prevalence baseline on Val. The graph separates these domain stages and the shared metrics layer. Later models and analyses are documented as planned, not implemented. Evidence is limited to the README and sampled source excerpts.
Main entry points: run_all.py Pipeline runner · download_data.py Workbook downloader · data_prep.py Schema validation · eda.py Train-only EDA
Components 13
Data acquisition
- Workbook downloader
data/download_data.py - Raw workbook
Data preparation
- Pipeline runner
run_all.py - Schema validation
src/data_prep.py - Stratified splitting
src/data_prep.py - Feature cleaning
src/data_prep.py - Train-fit preprocessing
src/data_prep.py
Analysis and evaluation
- Train-only EDA
src/eda.py - Prevalence baseline
run_all.py - Binary metrics
src/evaluate.py - Pipeline artifacts
run_all.py
Other components
- Project operator
- UCI dataset
Connections 12
- Project operator → Pipeline runner: runs
README.md - Pipeline runner → Workbook downloader: calls
run_all.py - Workbook downloader → UCI dataset: downloads
data/download_data.py - Workbook downloader → Raw workbook: writes
data/download_data.py - Pipeline runner → Schema validation: reads and validates
run_all.py - Pipeline runner → Stratified splitting: calls
run_all.py - Pipeline runner → Feature cleaning: calls
run_all.py - Pipeline runner → Train-fit preprocessing: fits and transforms
run_all.py - Pipeline runner → Train-only EDA: generates
run_all.py - Pipeline runner → Prevalence baseline: scores Val
run_all.py - Pipeline runner → Binary metrics: calls
run_all.py - Pipeline runner → Pipeline artifacts: writes
run_all.py