# aditi-0926/house-price-prediction-system architecture

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

- Interactive diagram: https://gitdiagram.com/aditi-0926/house-price-prediction-system
- Repository: https://github.com/aditi-0926/house-price-prediction-system

## Overview

This is a house-price prediction system with a ZenML training workflow and a Streamlit interface. The main training path ingests the Ames data, preprocesses and splits it, trains a regression model, and evaluates it; a separate deployment/inference path obtains batch input and calls a deployed model. The README also describes single-house and CSV batch predictions with downloadable results. Some app and step implementations were not excerpted, so those capabilities and links are represented only where documented or indexed.

Main entry points: [`pipelines/training_pipeline.py`](https://github.com/aditi-0926/house-price-prediction-system/blob/main/pipelines/training_pipeline.py) (Training pipeline), [`pipelines/deployment_pipeline.py`](https://github.com/aditi-0926/house-price-prediction-system/blob/main/pipelines/deployment_pipeline.py) (Deployment pipeline), [`steps/data_ingestion_step.py`](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/data_ingestion_step.py) (Data ingestion step), [`steps/handle_missing_values_step.py`](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/handle_missing_values_step.py) (Missing-value step)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_orchestration["Pipeline orchestration"]
  node_training_pipeline["Training pipeline"]
  node_deployment_pipeline["Deployment pipeline"]
end

subgraph group_preparation["Data preparation"]
  node_data_file["Ames data archive<br/>[archive.zip]"]
  node_ingestion_step["Data ingestion step"]
  node_ingestion["ZIP data ingestion<br/>[ingest_data.py]"]
  node_missing_step["Missing-value step"]
  node_missing_handler["Missing-value handling"]
  node_feature_step["Feature engineering step"]
  node_feature_engineering["Feature transformations"]
  node_outlier_step["Outlier detection step"]
  node_outlier_detection["Outlier detection"]
  node_split_step["Data split step"]
  node_data_splitter["Train/test splitting<br/>[data_splitter.py]"]
end

subgraph group_modeling["Modeling and evaluation"]
  node_model_step["Model training step"]
  node_evaluation_step["Evaluation step"]
  node_model_evaluator["Regression evaluation<br/>[model_evaluator.py]"]
  node_mlflow[("MLflow tracking and deployment")]
end

subgraph group_serving["Prediction and serving"]
  node_web_app["Streamlit prediction app<br/>[app.py]"]
  node_dynamic_importer["Batch input loader"]
  node_service_loader["Prediction service loader"]
  node_predictor["Batch predictor<br/>[predictor.py]"]
  node_model_loader["Model loader<br/>[model_loader.py]"]
  node_prediction_results["Prediction results"]
end

node_user(("House-price user"))

node_training_pipeline -->|"invokes"| node_ingestion_step
node_data_file -->|"input path"| node_ingestion_step
node_ingestion_step -->|"uses"| node_ingestion
node_training_pipeline -->|"invokes"| node_missing_step
node_missing_step -->|"uses"| node_missing_handler
node_training_pipeline -->|"invokes"| node_feature_step
node_feature_step -->|"uses"| node_feature_engineering
node_training_pipeline -->|"invokes"| node_outlier_step
node_outlier_step -->|"uses"| node_outlier_detection
node_training_pipeline -->|"invokes"| node_split_step
node_split_step -->|"uses"| node_data_splitter
node_training_pipeline -->|"invokes"| node_model_step
node_model_step -->|"logs training"| node_mlflow
node_training_pipeline -->|"invokes"| node_evaluation_step
node_evaluation_step -->|"uses"| node_model_evaluator
node_deployment_pipeline -->|"runs training"| node_training_pipeline
node_deployment_pipeline -->|"deploys model"| node_mlflow
node_deployment_pipeline -->|"loads batch input"| node_dynamic_importer
node_deployment_pipeline -->|"loads service"| node_service_loader
node_deployment_pipeline -->|"runs predictions"| node_predictor
node_deployment_pipeline -.->|"uses"| node_model_loader
node_user -->|"submits house data"| node_web_app
node_web_app -->|"shows predictions"| node_prediction_results
node_user -->|"downloads CSV"| node_prediction_results

click node_training_pipeline "https://github.com/aditi-0926/house-price-prediction-system/blob/main/pipelines/training_pipeline.py"
click node_deployment_pipeline "https://github.com/aditi-0926/house-price-prediction-system/blob/main/pipelines/deployment_pipeline.py"
click node_data_file "https://github.com/aditi-0926/house-price-prediction-system/blob/main/data/archive.zip"
click node_ingestion_step "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/data_ingestion_step.py"
click node_ingestion "https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/ingest_data.py"
click node_missing_step "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/handle_missing_values_step.py"
click node_missing_handler "https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/handle_missing_values.py"
click node_feature_step "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/feature_engineering_step.py"
click node_feature_engineering "https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/feature_engineering.py"
click node_outlier_step "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/outlier_detection_step.py"
click node_outlier_detection "https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/outlier_detection.py"
click node_split_step "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/data_splitter_step.py"
click node_data_splitter "https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/data_splitter.py"
click node_model_step "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/model_building_step.py"
click node_evaluation_step "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/model_evaluator_step.py"
click node_model_evaluator "https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/model_evaluator.py"
click node_web_app "https://github.com/aditi-0926/house-price-prediction-system/blob/main/app.py"
click node_dynamic_importer "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/dynamic_importer.py"
click node_service_loader "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/prediction_service_loader.py"
click node_predictor "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/predictor.py"
click node_model_loader "https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/model_loader.py"

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_training_pipeline,node_deployment_pipeline,node_user toneBlue
class node_data_file,node_ingestion_step,node_ingestion,node_missing_step,node_missing_handler,node_feature_step,node_feature_engineering,node_outlier_step,node_outlier_detection,node_split_step,node_data_splitter toneAmber
class node_model_step,node_evaluation_step,node_model_evaluator,node_mlflow toneMint
class node_web_app,node_dynamic_importer,node_service_loader,node_predictor,node_model_loader,node_prediction_results toneRose
```

## Components

### Pipeline orchestration

- [Training pipeline](https://github.com/aditi-0926/house-price-prediction-system/blob/main/pipelines/training_pipeline.py): `pipelines/training_pipeline.py`
- [Deployment pipeline](https://github.com/aditi-0926/house-price-prediction-system/blob/main/pipelines/deployment_pipeline.py): `pipelines/deployment_pipeline.py`

### Data preparation

- [Ames data archive](https://github.com/aditi-0926/house-price-prediction-system/blob/main/data/archive.zip): `data/archive.zip`
- [Data ingestion step](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/data_ingestion_step.py): `steps/data_ingestion_step.py`
- [ZIP data ingestion](https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/ingest_data.py): `src/ingest_data.py`
- [Missing-value step](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/handle_missing_values_step.py): `steps/handle_missing_values_step.py`
- [Missing-value handling](https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/handle_missing_values.py): `src/handle_missing_values.py`
- [Feature engineering step](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/feature_engineering_step.py): `steps/feature_engineering_step.py`
- [Feature transformations](https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/feature_engineering.py): `src/feature_engineering.py`
- [Outlier detection step](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/outlier_detection_step.py): `steps/outlier_detection_step.py`
- [Outlier detection](https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/outlier_detection.py): `src/outlier_detection.py`
- [Data split step](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/data_splitter_step.py): `steps/data_splitter_step.py`
- [Train/test splitting](https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/data_splitter.py): `src/data_splitter.py`

### Modeling and evaluation

- [Model training step](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/model_building_step.py): `steps/model_building_step.py`
- [Evaluation step](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/model_evaluator_step.py): `steps/model_evaluator_step.py`
- [Regression evaluation](https://github.com/aditi-0926/house-price-prediction-system/blob/main/src/model_evaluator.py): `src/model_evaluator.py`
- **MLflow tracking and deployment**

### Prediction and serving

- [Streamlit prediction app](https://github.com/aditi-0926/house-price-prediction-system/blob/main/app.py): `app.py`
- [Batch input loader](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/dynamic_importer.py): `steps/dynamic_importer.py`
- [Prediction service loader](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/prediction_service_loader.py): `steps/prediction_service_loader.py`
- [Batch predictor](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/predictor.py): `steps/predictor.py`
- [Model loader](https://github.com/aditi-0926/house-price-prediction-system/blob/main/steps/model_loader.py): `steps/model_loader.py`
- **Prediction results**

### Other components

- **House-price user**

## Connections

- Training pipeline → Data ingestion step: invokes (evidence: `pipelines/training_pipeline.py`)
- Ames data archive → Data ingestion step: input path
- Data ingestion step → ZIP data ingestion: uses (evidence: `steps/data_ingestion_step.py`)
- Training pipeline → Missing-value step: invokes (evidence: `pipelines/training_pipeline.py`)
- Missing-value step → Missing-value handling: uses (evidence: `steps/handle_missing_values_step.py`)
- Training pipeline → Feature engineering step: invokes (evidence: `pipelines/training_pipeline.py`)
- Feature engineering step → Feature transformations: uses (evidence: `steps/feature_engineering_step.py`)
- Training pipeline → Outlier detection step: invokes (evidence: `pipelines/training_pipeline.py`)
- Outlier detection step → Outlier detection: uses (evidence: `steps/outlier_detection_step.py`)
- Training pipeline → Data split step: invokes (evidence: `pipelines/training_pipeline.py`)
- Data split step → Train/test splitting: uses (evidence: `steps/data_splitter_step.py`)
- Training pipeline → Model training step: invokes (evidence: `pipelines/training_pipeline.py`)
- Model training step → MLflow tracking and deployment: logs training (evidence: `steps/model_building_step.py`)
- Training pipeline → Evaluation step: invokes (evidence: `pipelines/training_pipeline.py`)
- Evaluation step → Regression evaluation: uses (evidence: `steps/model_evaluator_step.py`)
- Deployment pipeline → Training pipeline: runs training (evidence: `pipelines/deployment_pipeline.py`)
- Deployment pipeline → MLflow tracking and deployment: deploys model (evidence: `pipelines/deployment_pipeline.py`)
- Deployment pipeline → Batch input loader: loads batch input (evidence: `pipelines/deployment_pipeline.py`)
- Deployment pipeline → Prediction service loader: loads service (evidence: `pipelines/deployment_pipeline.py`)
- Deployment pipeline → Batch predictor: runs predictions (evidence: `pipelines/deployment_pipeline.py`)
- Deployment pipeline → Model loader: uses (evidence: `pipelines/deployment_pipeline.py`)
- House-price user → Streamlit prediction app: submits house data (evidence: `README.md`)
- Streamlit prediction app → Prediction results: shows predictions (evidence: `README.md`)
- House-price user → Prediction results: downloads CSV (evidence: `README.md`)
