Hierarchical Cluster Analysis.Get Cluster Partition Method
Definition
Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Get | Returns the partition of the data into the specified number of clusters. |
Get | Returns the partition of the data into the specified number of clusters. |
GetClusterPartition(Double)
Returns the partition of the data into the specified number of clusters.
public HierarchicalClusterCollection GetClusterPartition(
double distanceThreshold
)
Parameters
- distanceThreshold Double
- The distance above which clusters are not merged.
Return Value
HierarchicalClusterCollectionA HierarchicalClusterCollection.
Exceptions
Argument | distanceThreshold is less than zero. |
GetClusterPartition(Int32)
Returns the partition of the data into the specified number of clusters.
public HierarchicalClusterCollection GetClusterPartition(
int numberOfClusters
)
Parameters
- numberOfClusters Int32
- The number of clusters to return.
Return Value
HierarchicalClusterCollectionA HierarchicalClusterCollection.
Exceptions
Argument | numberOfClusters is less than one or greater than the number of observations. |