KMeansCluster Class

Represents a cluster of cases in a K-means cluster analysis.

Definition

Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public class KMeansCluster
Inheritance
Object  →  KMeansCluster

Remarks

Use the KMeansCluster class to access the properties of a cluster returned by a K-means cluster analysis computed by the KMeansClusterAnalysis class. The KMeansClusterAnalysis class has a Clusters property that returns an array of KMeansCluster objects.

A KMeansCluster object cannot be created independently. It is always created by the clustering algorithm. KMeansCluster objects are read-only.

Properties

Center Gets the center of the cluster.
Index Gets the index of the cluster in the collection.
MemberIndexes Gets a Filter that selects the members of the cluster.
Size Gets the number of observations in the cluster.
SumOfSquares Gets the within-cluster sum of squares of the distances.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Returns a string representation of the cluster.
(Overrides Object.ToString())

See Also