# Klasteryzacja hierarchiczna

EN: **Hierarchical clustering** · id `hierclustering`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Uczenie maszynowe](https://aiatlasgraph.com/t/ml.md) › [Uczenie nienadzorowane](https://aiatlasgraph.com/t/unsupervised.md) › [Klasteryzacja](https://aiatlasgraph.com/t/clustering.md) › Klasteryzacja hierarchiczna

## Description

- PL: Buduje drzewo grup przez stopniowe łączenie najbliższych (lub dzielenie największych); poziom podziału wybiera się z dendrogramu.
- EN: Builds a tree of groups by gradually merging the closest ones (or splitting the largest); the cut level is chosen from a dendrogram.

## In one sentence

- PL: To tworzenie drzewa podobnych grup, które można oglądać od ogólnego podziału po drobne szczegóły.
- EN: This builds a tree of similar groups that can be viewed from broad divisions down to small details.

## Problem it solves

- PL: Jeden podział danych nie pokazuje, które grupy są do siebie podobne ani jak dzielą się na mniejsze.
- EN: A single data partition does not show which groups resemble one another or how they divide into smaller groups.

## What it does

- PL: Stopniowo łączy podobne grupy albo dzieli je na mniejsze, zapisując związki w drzewie, z którego wybierasz poziom szczegółowości.
- EN: It gradually merges similar groups or splits them, recording their relationships in a tree whose level of detail you can choose.

## Everyday example

- PL: Dokumenty tworzą duże grupy tematyczne, które rozwijasz na mniejsze podgrupy, żeby znaleźć podobne raporty w ramach jednego tematu.
- EN: Documents form broad topic groups that you expand into smaller subgroups to find similar reports within a topic.

## This concerns you if you…

- PL: chcesz oglądać podobieństwa na różnych poziomach szczegółowości
- PL: nie chcesz od razu ustalać jednego podziału
- EN: want similarities shown at different levels of detail
- EN: do not want to commit to one partition immediately

## Keywords

agglomerative clustering · Ward linkage · complete linkage · single linkage · dendrograms

## How it works

- PL: Klastry łączy się lub dzieli według reguły porównującej grupy punktów. Historia operacji tworzy dendrogram, którego przecięcie na wybranym poziomie wyznacza końcowy podział.
- EN: Clusters are merged or divided according to a rule comparing point groups. The operation history forms a dendrogram, whose cut at a chosen level defines the final partition.

## Limits

- PL: Reguła łączenia może dawać łańcuchy albo zwarte grupy dla tych samych danych. Wczesne decyzje bywają nieodwracalne, a obliczenia odległości są kosztowne dla dużych prób.
- EN: Linkage rules can yield chains or compact groups from the same data. Early decisions may be irreversible, and distance computations become costly on large samples.

## Key terms

- PL: **linkage**: Reguła wyliczania odległości między grupami punktów.
- PL: **dendrogram**: Drzewo pokazujące kolejność i poziomy łączenia lub dzielenia grup.
- EN: **linkage**: A rule computing distances between groups of points.
- EN: **dendrogram**: A tree showing the order and levels of group merges or splits.

## Know first

- [Algebra liniowa: wektory i macierze (Linear algebra: vectors and matrices)](https://aiatlasgraph.com/t/linearalgebra.md)

## Examples

- PL: aglomeracyjna · metoda Warda · dendrogram
- EN: agglomerative · Ward linkage · dendrogram

## Sources

- [scikit-learn — 2.3 Clustering](<https://scikit-learn.org/stable/modules/clustering.html>) `sklearn-clustering` · by scikit-learn developers

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/hierclustering · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
