IMSL C# Numerical Library

ClusterKMeans Members

ClusterKMeans overview

Public Instance Constructors

ClusterKMeans Constructor Constructor for ClusterKMeans.

Public Instance Properties

MaxIterations The maximum number of iterations.

Public Instance Methods

Compute Computes the cluster means.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetClusterCounts Returns the number of observations in each cluster. Note that the Compute method must be invoked first before invoking this method. Otherwise, the method throws a NullReferenceException exception.
GetClusterMembership Returns the cluster membership for each observation. Note that the Compute method must be invoked first before invoking this method. Otherwise, the method throws a NullReferenceException exception.
GetClusterSSQ Returns the within sum of squares for each cluster. Note that the Compute method must be invoked first before invoking this method. Otherwise, the method throws a NullReferenceException exception.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
SetFrequencies The frequency for each observation.
SetWeights Sets the weight for each observation.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ClusterKMeans Class | Imsl.Stat Namespace | ClusterKMeans Example