# hemanthsai456/human-decision-intelligence architecture

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

- Interactive diagram: https://gitdiagram.com/hemanthsai456/human-decision-intelligence
- Repository: https://github.com/hemanthsai456/human-decision-intelligence

## Overview

The repository is titled Human Decision Intelligence. Its R scripts name stages spanning data loading, profiling, cleaning, validation, analysis, machine learning, explainability, and decision intelligence; the tree also includes a Shiny app and processed CSVs. These names support a map of product areas, but no source excerpts or README workflow details were provided. I therefore omit call and data-flow edges rather than infer connections between stages.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data preparation"]
  node_loading["Data loading<br/>[01_data_loading.R]"]
  node_profiling["Data profiling"]
  node_cleaning["Data cleaning<br/>[03_data_cleaning.R]"]
  node_validation["Data validation"]
  node_features["Feature engineering"]
end

subgraph group_analysis["Analysis"]
  node_eda["Exploratory analysis<br/>[06_eda.R]"]
  node_statistics["Statistical analysis"]
  node_pca["PCA<br/>[08_pca.R]"]
  node_clustering["Clustering<br/>[09_clustering.R]"]
end

subgraph group_models["Modeling"]
  node_mlprep["ML preparation"]
  node_training["Training and evaluation"]
  node_comparison["Model comparison"]
  node_tuning["Model finalization"]
  node_explainability["Explainability"]
end

subgraph group_product["Decision product"]
  node_decisions["Decision intelligence"]
  node_shinydata["Shiny data creation"]
  node_app["Shiny app<br/>[app.R]"]
  node_processed["Processed CSV artifacts"]
end

click node_loading "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/01_data_loading.R"
click node_profiling "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/02_data_profiling.R"
click node_cleaning "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/03_data_cleaning.R"
click node_validation "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/04_data_validation.R"
click node_features "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/05_feature_engineering.R"
click node_eda "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/06_eda.R"
click node_statistics "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/07_statistical_analysis.R"
click node_pca "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/08_pca.R"
click node_clustering "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/09_clustering.R"
click node_mlprep "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/10_ml_preparation.R"
click node_training "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/11_ml_training_evaluation.R"
click node_comparison "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/12_model_comparison.R"
click node_tuning "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/13_model_tuning_finalization.R"
click node_explainability "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/14_explainability.R"
click node_decisions "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/15_decision_intelligence.R"
click node_shinydata "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/create_shiny_data.R"
click node_app "https://github.com/hemanthsai456/human-decision-intelligence/blob/main/app/app.R"
click node_processed "https://github.com/hemanthsai456/human-decision-intelligence/tree/main/data/processed"

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_loading,node_profiling,node_cleaning,node_validation,node_features toneBlue
class node_eda,node_statistics,node_pca,node_clustering toneAmber
class node_mlprep,node_training,node_comparison,node_tuning,node_explainability toneMint
class node_decisions,node_shinydata,node_app,node_processed toneRose
```

## Components

### Data preparation

- [Data loading](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/01_data_loading.R): `R/01_data_loading.R`
- [Data profiling](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/02_data_profiling.R): `R/02_data_profiling.R`
- [Data cleaning](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/03_data_cleaning.R): `R/03_data_cleaning.R`
- [Data validation](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/04_data_validation.R): `R/04_data_validation.R`
- [Feature engineering](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/05_feature_engineering.R): `R/05_feature_engineering.R`

### Analysis

- [Exploratory analysis](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/06_eda.R): `R/06_eda.R`
- [Statistical analysis](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/07_statistical_analysis.R): `R/07_statistical_analysis.R`
- [PCA](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/08_pca.R): `R/08_pca.R`
- [Clustering](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/09_clustering.R): `R/09_clustering.R`

### Modeling

- [ML preparation](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/10_ml_preparation.R): `R/10_ml_preparation.R`
- [Training and evaluation](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/11_ml_training_evaluation.R): `R/11_ml_training_evaluation.R`
- [Model comparison](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/12_model_comparison.R): `R/12_model_comparison.R`
- [Model finalization](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/13_model_tuning_finalization.R): `R/13_model_tuning_finalization.R`
- [Explainability](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/14_explainability.R): `R/14_explainability.R`

### Decision product

- [Decision intelligence](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/15_decision_intelligence.R): `R/15_decision_intelligence.R`
- [Shiny data creation](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/R/create_shiny_data.R): `R/create_shiny_data.R`
- [Shiny app](https://github.com/hemanthsai456/human-decision-intelligence/blob/main/app/app.R): `app/app.R`
- [Processed CSV artifacts](https://github.com/hemanthsai456/human-decision-intelligence/tree/main/data/processed): `data/processed`
