# vinod-7111/house-price-prediction architecture

> Architecture diagram of the GitHub repository vinod-7111/house-price-prediction, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vinod-7111/house-price-prediction
- Repository: https://github.com/vinod-7111/house-price-prediction

## Overview

This repository is a notebook-based house-price regression project. Its principal workflow loads the property CSV, explores and cleans it, engineers and selects features, preprocesses and splits the data, trains four regressors, then evaluates, compares, and visualizes results. README documents these stages and model choices; the notebook itself was not sampled, so paths for implemented stages point to the notebook and edges reflect only the documented workflow, not verified calls.

Main entry points: [`Notebook/House_Price_Prediction.ipynb`](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb) (ML pipeline), [`Data/house_price_data.csv`](https://github.com/vinod-7111/house-price-prediction/blob/main/Data/house_price_data.csv) (House data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data_analysis["Data analysis"]
  node_dataset[("House data")]
  node_loading["Load and inspect"]
  node_eda["Explore data"]
end

subgraph group_feature_prep["Feature preparation"]
  node_cleaning["Clean records"]
  node_engineering["Engineer features"]
  node_selection["Select features"]
  node_typing["Identify feature types"]
  node_preprocessing["Preprocess features"]
end

subgraph group_modeling["Modeling"]
  node_split["Train-test split"]
  node_pipeline["ML pipeline"]
  node_linear["Linear regression"]
  node_forest["Random forest"]
  node_boosting["Gradient boosting"]
  node_tree["Decision tree"]
end

subgraph group_results["Evaluation and results"]
  node_evaluation["Evaluate models"]
  node_comparison["Compare models"]
  node_visualization["Visualize results"]
end

node_analyst(("Analyst"))

node_analyst -->|"runs workflow"| node_loading
node_dataset -->|"provides records"| node_loading
node_loading -->|"inspects data"| node_eda
node_eda -->|"informs cleaning"| node_cleaning
node_cleaning -->|"prepares records"| node_engineering
node_engineering -->|"creates features"| node_selection
node_selection -->|"identifies inputs"| node_typing
node_typing -->|"guides transforms"| node_preprocessing
node_preprocessing -->|"prepares features"| node_split
node_split -->|"supplies partitions"| node_pipeline
node_pipeline -->|"trains model"| node_linear
node_pipeline -->|"trains model"| node_forest
node_pipeline -->|"trains model"| node_boosting
node_pipeline -->|"trains model"| node_tree
node_linear -->|"produces predictions"| node_evaluation
node_forest -->|"produces predictions"| node_evaluation
node_boosting -->|"produces predictions"| node_evaluation
node_tree -->|"produces predictions"| node_evaluation
node_evaluation -->|"scores models"| node_comparison
node_comparison -->|"presents results"| node_visualization

click node_dataset "https://github.com/vinod-7111/house-price-prediction/blob/main/Data/house_price_data.csv"
click node_loading "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_eda "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_cleaning "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_engineering "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_selection "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_typing "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_preprocessing "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_split "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_pipeline "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_linear "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_forest "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_boosting "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_tree "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_evaluation "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_comparison "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"
click node_visualization "https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dataset,node_loading,node_eda toneBlue
class node_cleaning,node_engineering,node_selection,node_typing,node_preprocessing toneAmber
class node_split,node_pipeline,node_linear,node_forest,node_boosting,node_tree toneMint
class node_evaluation,node_comparison,node_visualization toneRose
class node_analyst toneIndigo
```

## Components

### Data analysis

- [House data](https://github.com/vinod-7111/house-price-prediction/blob/main/Data/house_price_data.csv): `Data/house_price_data.csv`
- [Load and inspect](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Explore data](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`

### Feature preparation

- [Clean records](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Engineer features](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Select features](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Identify feature types](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Preprocess features](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`

### Modeling

- [Train-test split](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [ML pipeline](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Linear regression](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Random forest](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Gradient boosting](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Decision tree](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`

### Evaluation and results

- [Evaluate models](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Compare models](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`
- [Visualize results](https://github.com/vinod-7111/house-price-prediction/blob/main/Notebook/House_Price_Prediction.ipynb): `Notebook/House_Price_Prediction.ipynb`

### Other components

- **Analyst**

## Connections

- Analyst → Load and inspect: runs workflow (evidence: `README.md`)
- House data → Load and inspect: provides records (evidence: `README.md`)
- Load and inspect → Explore data: inspects data (evidence: `README.md`)
- Explore data → Clean records: informs cleaning (evidence: `README.md`)
- Clean records → Engineer features: prepares records (evidence: `README.md`)
- Engineer features → Select features: creates features (evidence: `README.md`)
- Select features → Identify feature types: identifies inputs (evidence: `README.md`)
- Identify feature types → Preprocess features: guides transforms (evidence: `README.md`)
- Preprocess features → Train-test split: prepares features (evidence: `README.md`)
- Train-test split → ML pipeline: supplies partitions (evidence: `README.md`)
- ML pipeline → Linear regression: trains model (evidence: `README.md`)
- ML pipeline → Random forest: trains model (evidence: `README.md`)
- ML pipeline → Gradient boosting: trains model (evidence: `README.md`)
- ML pipeline → Decision tree: trains model (evidence: `README.md`)
- Linear regression → Evaluate models: produces predictions (evidence: `README.md`)
- Random forest → Evaluate models: produces predictions (evidence: `README.md`)
- Gradient boosting → Evaluate models: produces predictions (evidence: `README.md`)
- Decision tree → Evaluate models: produces predictions (evidence: `README.md`)
- Evaluate models → Compare models: scores models (evidence: `README.md`)
- Compare models → Visualize results: presents results (evidence: `README.md`)
