# 层次聚类

生成一个聚类层级（用树状图展示），聚合方法：AGNES，分裂方法：DIANA，其他层级方法：BIRCH、CURE、CHAMELEON

![](/files/-LSEubT71HFAhV9U-wwM)

## AGNES(Agglomerative Nesting)

AGNES是一种采用自底向上聚合策略的层次聚类算法。它先将数据集中的每个样本看作一个初始聚类簇，然后在算法运行的每一步中找出距离最近的两个聚类簇进行合并，该过程不断重复，直至达到预设的聚类簇个数。

![](/files/-LYzPqJyPgBWjTCDEVqM)

## DIANA(Divisive Analysis)

![](/files/-LSEwO-zcwptSDFX0sld)

## BIRCH(Balanced Iterative Reducing and Clustering Using Hierarchies)

![](/files/-LSEwwMhRDoqZ126lSqX)

## CURE(Clustering Using Representatives)

![](/files/-LSEx9OshJ4n6lRwePpD)

## CHAMELEON(Hierarchical Clustering Using Dynamic Modeling)

![](/files/-LSExVXuA_2UkBD1nnRk)

![](/files/-LSExXSbuxqEg-jgNsef)

##


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chmx0929.gitbook.io/machine-learning/shu-ju-wa-jue/shu-ju-wa-jue/ju-lei-fen-xi/ceng-ci-ju-lei.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
