# nilanjansb/unsupervised_learning architecture

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

- Interactive diagram: https://gitdiagram.com/nilanjansb/unsupervised_learning
- Repository: https://github.com/nilanjansb/unsupervised_learning

## Overview

This repository is a small collection of Jupyter notebooks demonstrating K-Means and hierarchical clustering, including examples described as using real datasets and, in some cases, ground truth. The CSV files are the available data assets. The notebook contents and README were not provided, so the specific notebook-to-dataset relationships and internal processing steps cannot be verified; no connections are inferred.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_kmeans["K-Means Examples"]
  node_kmeans_basic["K-Means Demo"]
  node_kmeans_pca["K-Means PCA Demo"]
  node_kmeans_truth["K-Means Ground Truth"]
end

subgraph group_hierarchical["Hierarchical Examples"]
  node_hier_basic["Hierarchical Demo"]
  node_hier_truth["Hierarchical Ground Truth"]
end

subgraph group_data["Data Files"]
  node_housing[("Housing Dataset<br/>[housing.csv]")]
  node_wine[("Wine Dataset<br/>[wine.csv]")]
end

click node_housing "https://github.com/nilanjansb/unsupervised_learning/blob/main/housing.csv"
click node_wine "https://github.com/nilanjansb/unsupervised_learning/blob/main/wine.csv"

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_kmeans_basic,node_kmeans_pca,node_kmeans_truth toneBlue
class node_hier_basic,node_hier_truth toneAmber
class node_housing,node_wine toneMint
```

## Components

### K-Means Examples

- **K-Means Demo**
- **K-Means PCA Demo**
- **K-Means Ground Truth**

### Hierarchical Examples

- **Hierarchical Demo**
- **Hierarchical Ground Truth**

### Data Files

- [Housing Dataset](https://github.com/nilanjansb/unsupervised_learning/blob/main/housing.csv): `housing.csv`
- [Wine Dataset](https://github.com/nilanjansb/unsupervised_learning/blob/main/wine.csv): `wine.csv`
