Click or drag to resize

SparseAgglomerativeClustering Class

Special version of Sparse and Fast Agglomerative Clustering Algorithm. Performs only AgglomerateStrategy.Minimum strategy. Memory usage O(n), Time Asymptotic O(n^2), where n - objects count. http://en.wikipedia.org/wiki/Hierarchical_clustering
Inheritance Hierarchy
SystemObject
  FinMath.ClusterAnalysisBaseClustering
    FinMath.ClusterAnalysisSparseAgglomerativeClustering

Namespace:  FinMath.ClusterAnalysis
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public class SparseAgglomerativeClustering : BaseClustering

The SparseAgglomerativeClustering type exposes the following members.

Constructors
  NameDescription
Public methodSparseAgglomerativeClustering
Create new instance of SparseAgglomerativeClustering. Performs only LinkageCriteria.Minimum strategy.
Top
Properties
  NameDescription
Public propertyClustersCount
Returns number of clusters in partition.
(Inherited from BaseClustering.)
Public propertyMetricType (Inherited from BaseClustering.)
Public propertyStatus
Method status.
(Inherited from BaseClustering.)
Top
Methods
  NameDescription
Public methodAgglomerativeTree
Returns array which contains hierarchy clusters tree. AgglomerativeTree[i] contain parent cluster of i-th cluster. i-th element from 0 to metric.Rows elements correspond to clusters contain single i-th object from input dataset.
Public methodCentralElements
Get indices of central elements, one per cluster.
(Inherited from BaseClustering.)
Public methodCentroids
Returns Centroid matrix, each row represent centroid of corresponding cluster. Columns corresponds to factors.
(Inherited from BaseClustering.)
Public methodClearCache
Evaluate all lazy-evaluated properties and clear cached data.
(Inherited from BaseClustering.)
Public methodClusterize
Find nearest cluster by centroid distance
(Inherited from BaseClustering.)
Public methodClustersAssignment
Return array which contains assignment objects for clusters. ClustersAssignment[i] contain assignment of i-th object.
(Inherited from BaseClustering.)
Public methodComputeClustering(Matrix)
Method which perform clustering analysis.
(Overrides BaseClusteringComputeClustering(Matrix).)
Public methodComputeClustering(Int32, SparseAgglomerativeClusteringGetMetricLineDelegate)
Method which perform clustering analysis.
Public methodComputeClustering(Matrix, MetricType)
Method which perform clustering analysis.
(Overrides BaseClusteringComputeClustering(Matrix, MetricType).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCluster
Get cluster as array of indices of assigned elements.
(Inherited from BaseClustering.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also