HierarchyBuilder
01 Syntax
Microsoft.VisualBasic.DataMining.HierarchicalClustering.Hierarchy.HierarchyBuilder
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| flatAgg | 1 | Returns Flattened clusters, i.e. |
| Agglomerate | 1 | 进行层次聚类的迭代计算操作,主要的限速步骤 |
| removeCluster | 1 | 按引用(而非 Cluster.Equals()) 基于名称的比较)从 HierarchyBuilder.Clusters 中移除指定簇, 避免每次合并都进行 O(n) 次字符串比较。 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| TreeComplete | 1 | 当HierarchyBuilder.Clusters的数量最终只有一个节点的时候,就认为完成了层次聚类操作了 |
| RootCluster | 1 | Gets the root cluster of the hierarchy tree |
| First | 1 | The first element in this HierarchyBuilder, if HierarchyBuilder.TreeComplete then this first element is the root cluster. |
| Distances | 1 |
04 Members
flatAgg(LinkageStrategy,
Double)Returns Flattened clusters, i.e. clusters that are at least apart by a given threshold
Parameters
| Name | Type | Description |
|---|---|---|
linkageStrategy | LinkageStrategy | - |
threshold | Double | @return |
Agglomerate(LinkageStrategy)
进行层次聚类的迭代计算操作,主要的限速步骤
Parameters
| Name | Type | Description |
|---|---|---|
linkageStrategy | LinkageStrategy | - |
removeCluster(Cluster)
按引用(而非 Cluster.Equals() 基于名称的比较)从 HierarchyBuilder.Clusters 中移除指定簇, 避免每次合并都进行 O(n) 次字符串比较。
TreeComplete
当HierarchyBuilder.Clusters的数量最终只有一个节点的时候,就认为完成了层次聚类操作了
RootCluster
Gets the root cluster of the hierarchy tree
First
The first element in this HierarchyBuilder, if HierarchyBuilder.TreeComplete then this first element is the root cluster.
Distances