# bantpawan/pawan-project architecture

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

- Interactive diagram: https://gitdiagram.com/bantpawan/pawan-project
- Repository: https://github.com/bantpawan/pawan-project

## Overview

This repository is a portfolio of projects; the documented real-estate capstone is the principal product. Its user workflow is property-data preparation and modeling, followed by price prediction, market analysis, or recommendations through web interfaces. The tree also contains a separate research-paper analyzer, represented as an independent product. Edges rely on the supplied README and excerpts; unsampled project connections are omitted.

Main entry points: [`Machine Learning Project/Streamlit_Real_Estate_Application/Pages/Main_Page.py`](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Streamlit_Real_Estate_Application/Pages/Main_Page.py) (Streamlit Navigation), [`Machine Learning Project/FastAPI_Real_Estate_API/frontend/script.js`](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/FastAPI_Real_Estate_API/frontend/script.js) (Web Client), [`Machine Learning Project/FastAPI_Real_Estate_API/backend/data_preparation.py`](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/FastAPI_Real_Estate_API/backend/data_preparation.py) (Data Preparation), [`Machine Learning Project/Missing_Value_Imputation.ipynb`](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Missing_Value_Imputation.ipynb) (Cleaning & Imputation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_real_estate["Real Estate Data"]
  node_raw_data[("Property Datasets")]
  node_preparation["Data Preparation"]
  node_cleaning["Cleaning &amp; Imputation"]
  node_feature_work["Feature Engineering"]
  node_exploration["Market Exploration"]
  node_selection["Feature Selection"]
  node_modeling["Model Evaluation"]
  node_trained_artifacts[("Model Artifacts")]
end

subgraph group_real_estate_apps["Real Estate Apps"]
  node_api["Real Estate API<br/>[app.py]"]
  node_web_client["Web Client<br/>[script.js]"]
  node_streamlit_nav["Streamlit Navigation<br/>[Main_Page.py]"]
  node_price_ui["Price Predictor"]
  node_analysis_ui["Market Analytics<br/>[03_Analysis_App.py]"]
  node_recommend_ui["Property Recommender"]
end

subgraph group_research_analyzer["Research Analyzer"]
  node_paper_app["Paper Analyzer<br/>[app .py]"]
end

node_analyst(("Property User"))
node_paper_user(("Researcher"))
node_ollama["Ollama Model Service"]

node_raw_data -->|"loads data"| node_preparation
node_preparation -.->|"prepares inputs"| node_cleaning
node_cleaning -->|"cleans and imputes"| node_feature_work
node_feature_work -->|"supports exploration"| node_exploration
node_exploration -->|"informs selection"| node_selection
node_selection -->|"selects predictors"| node_modeling
node_modeling -->|"produces pipeline"| node_trained_artifacts
node_analyst -->|"uses"| node_web_client
node_web_client -->|"requests data"| node_api
node_api -->|"serves interface"| node_web_client
node_analyst -->|"uses"| node_streamlit_nav
node_streamlit_nav -->|"routes to"| node_price_ui
node_streamlit_nav -->|"routes to"| node_analysis_ui
node_streamlit_nav -->|"routes to"| node_recommend_ui
node_paper_user -->|"uploads and asks"| node_paper_app
node_paper_app -->|"sends prompts"| node_ollama

click node_raw_data "https://github.com/bantpawan/pawan-project/tree/main/Machine%20Learning%20Project/Datasets"
click node_preparation "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/FastAPI_Real_Estate_API/backend/data_preparation.py"
click node_cleaning "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Missing_Value_Imputation.ipynb"
click node_feature_work "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Feature_Engineering.ipynb"
click node_exploration "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Eda_Univariate_Analysis.ipynb"
click node_selection "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Feature_Selection.ipynb"
click node_modeling "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Model_Selection.ipynb"
click node_trained_artifacts "https://github.com/bantpawan/pawan-project/tree/main/Machine%20Learning%20Project/Processed_Data"
click node_api "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/FastAPI_Real_Estate_API/backend/app.py"
click node_web_client "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/FastAPI_Real_Estate_API/frontend/script.js"
click node_streamlit_nav "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Streamlit_Real_Estate_Application/Pages/Main_Page.py"
click node_price_ui "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Streamlit_Real_Estate_Application/Pages/02_Price_Predictor.py"
click node_analysis_ui "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Streamlit_Real_Estate_Application/Pages/03_Analysis_App.py"
click node_recommend_ui "https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Streamlit_Real_Estate_Application/Pages/04_Recommend_Appartments.py"
click node_paper_app "https://github.com/bantpawan/pawan-project/blob/main/AI-LLM/app%20.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_raw_data,node_preparation,node_cleaning,node_feature_work,node_exploration,node_selection,node_modeling,node_trained_artifacts,node_analyst toneBlue
class node_api,node_web_client,node_streamlit_nav,node_price_ui,node_analysis_ui,node_recommend_ui toneAmber
class node_paper_app toneMint
class node_paper_user,node_ollama toneIndigo
```

## Components

### Real Estate Data

- [Property Datasets](https://github.com/bantpawan/pawan-project/tree/main/Machine%20Learning%20Project/Datasets): `Machine Learning Project/Datasets`
- [Data Preparation](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/FastAPI_Real_Estate_API/backend/data_preparation.py): `Machine Learning Project/FastAPI_Real_Estate_API/backend/data_preparation.py`
- [Cleaning & Imputation](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Missing_Value_Imputation.ipynb): `Machine Learning Project/Missing_Value_Imputation.ipynb`
- [Feature Engineering](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Feature_Engineering.ipynb): `Machine Learning Project/Feature_Engineering.ipynb`
- [Market Exploration](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Eda_Univariate_Analysis.ipynb): `Machine Learning Project/Eda_Univariate_Analysis.ipynb`
- [Feature Selection](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Feature_Selection.ipynb): `Machine Learning Project/Feature_Selection.ipynb`
- [Model Evaluation](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Model_Selection.ipynb): `Machine Learning Project/Model_Selection.ipynb`
- [Model Artifacts](https://github.com/bantpawan/pawan-project/tree/main/Machine%20Learning%20Project/Processed_Data): `Machine Learning Project/Processed_Data`

### Real Estate Apps

- [Real Estate API](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/FastAPI_Real_Estate_API/backend/app.py): `Machine Learning Project/FastAPI_Real_Estate_API/backend/app.py`
- [Web Client](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/FastAPI_Real_Estate_API/frontend/script.js): `Machine Learning Project/FastAPI_Real_Estate_API/frontend/script.js`
- [Streamlit Navigation](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Streamlit_Real_Estate_Application/Pages/Main_Page.py): `Machine Learning Project/Streamlit_Real_Estate_Application/Pages/Main_Page.py`
- [Price Predictor](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Streamlit_Real_Estate_Application/Pages/02_Price_Predictor.py): `Machine Learning Project/Streamlit_Real_Estate_Application/Pages/02_Price_Predictor.py`
- [Market Analytics](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Streamlit_Real_Estate_Application/Pages/03_Analysis_App.py): `Machine Learning Project/Streamlit_Real_Estate_Application/Pages/03_Analysis_App.py`
- [Property Recommender](https://github.com/bantpawan/pawan-project/blob/main/Machine%20Learning%20Project/Streamlit_Real_Estate_Application/Pages/04_Recommend_Appartments.py): `Machine Learning Project/Streamlit_Real_Estate_Application/Pages/04_Recommend_Appartments.py`

### Research Analyzer

- [Paper Analyzer](https://github.com/bantpawan/pawan-project/blob/main/AI-LLM/app%20.py): `AI-LLM/app .py`

### Other components

- **Property User**
- **Researcher**
- **Ollama Model Service**

## Connections

- Property Datasets → Data Preparation: loads data (evidence: `Machine Learning Project/FastAPI_Real_Estate_API/backend/data_preparation.py`)
- Data Preparation → Cleaning & Imputation: prepares inputs
- Cleaning & Imputation → Feature Engineering: cleans and imputes
- Feature Engineering → Market Exploration: supports exploration
- Market Exploration → Feature Selection: informs selection
- Feature Selection → Model Evaluation: selects predictors
- Model Evaluation → Model Artifacts: produces pipeline
- Property User → Web Client: uses
- Web Client → Real Estate API: requests data (evidence: `Machine Learning Project/FastAPI_Real_Estate_API/frontend/script.js`)
- Real Estate API → Web Client: serves interface (evidence: `Machine Learning Project/FastAPI_Real_Estate_API/backend/app.py`)
- Property User → Streamlit Navigation: uses
- Streamlit Navigation → Price Predictor: routes to (evidence: `Machine Learning Project/Streamlit_Real_Estate_Application/Pages/Main_Page.py`)
- Streamlit Navigation → Market Analytics: routes to (evidence: `Machine Learning Project/Streamlit_Real_Estate_Application/Pages/Main_Page.py`)
- Streamlit Navigation → Property Recommender: routes to (evidence: `Machine Learning Project/Streamlit_Real_Estate_Application/Pages/Main_Page.py`)
- Researcher → Paper Analyzer: uploads and asks (evidence: `AI-LLM/app .py`)
- Paper Analyzer → Ollama Model Service: sends prompts (evidence: `AI-LLM/app .py`)
