# dwarakakeerthana/kaggle-project-loan-prize architecture

> Architecture diagram of the GitHub repository dwarakakeerthana/kaggle-project-loan-prize, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dwarakakeerthana/kaggle-project-loan-prize
- Repository: https://github.com/dwarakakeerthana/kaggle-project-loan-prize

## Overview

##### Project type and purpose
- This is an open-source Kaggle competition solution focused on a Machine Learning pipeline for loan repayment prediction.
- The purpose is to load raw loan data, preprocess it, train and blend models (XGBoost, LightGBM) using stratified K-fold, evaluate via ROC-AUC/RMSE, and produce a submission CSV.

##### File structure
- Top-level files:
- README.md – project description and setup
- loan-prize-perdiction (1).ipynb – the complete notebook implementing the pipeline
- No multi-service folders; it’s a single-workload ML workflow encapsulated in the notebook.

##### README for additional insights
- Core steps: data loading → preprocessing (dtype conversion, missing values) → model training → stacking/blending → evaluation → submission generation.
- Key libraries: pandas, NumPy, scikit-learn (StratifiedKFold, metrics), XGBoost, LightGBM.

##### Detail without overcomplication
- Every pipeline stage as a distinct component.

## Diagram (Mermaid)

```mermaid
flowchart TD
    A["Kaggle Notebook Runtime"]:::external
    B["Raw Loan Data CSV"]:::external
    L["Project Documentation & Setup (README.md)"]:::external

    A --> B
    A --> C["Data Ingestion"]:::dataTransform
    C --> D["Data Preprocessing"]:::dataTransform
    D --> E["Feature Engineering"]:::dataTransform
    E --> F["XGBoost Training"]:::model
    E --> G["LightGBM Training"]:::model
    F --> H["Stacking/Blending Module"]:::model
    G --> H
    H --> I["Evaluation Module (ROC-AUC, RMSE)"]:::eval
    I --> J["Submission Generator"]:::eval
    J --> K["Predictions CSV Output"]:::external

    click C "https://github.com/dwarakakeerthana/kaggle-project-loan-prize/blob/main/loan-prize-perdiction (1).ipynb"
    click D "https://github.com/dwarakakeerthana/kaggle-project-loan-prize/blob/main/loan-prize-perdiction (1).ipynb"
    click E "https://github.com/dwarakakeerthana/kaggle-project-loan-prize/blob/main/loan-prize-perdiction (1).ipynb"
    click F "https://github.com/dwarakakeerthana/kaggle-project-loan-prize/blob/main/loan-prize-perdiction (1).ipynb"
    click G "https://github.com/dwarakakeerthana/kaggle-project-loan-prize/blob/main/loan-prize-perdiction (1).ipynb"
    click H "https://github.com/dwarakakeerthana/kaggle-project-loan-prize/blob/main/loan-prize-perdiction (1).ipynb"
    click I "https://github.com/dwarakakeerthana/kaggle-project-loan-prize/blob/main/loan-prize-perdiction (1).ipynb"
    click J "https://github.com/dwarakakeerthana/kaggle-project-loan-prize/blob/main/loan-prize-perdiction (1).ipynb"
    click L "https://github.com/dwarakakeerthana/kaggle-project-loan-prize/blob/main/README.md"

    classDef external fill:#D3D3D3,stroke:#333,stroke-width:1px;
    classDef dataTransform fill:#ADD8E6,stroke:#333,stroke-width:1px;
    classDef model fill:#90EE90,stroke:#333,stroke-width:1px;
    classDef eval fill:#FFA500,stroke:#333,stroke-width:1px;
```
