KMeans Cluster 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.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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. |
Member | Gets a Filter that selects the members of the cluster. |
Size | Gets the number of observations in the cluster. |
Sum | Gets the within-cluster sum of squares of the distances. |
Methods
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString |
Returns a string representation of the cluster.
(Overrides Object.ToString()) |