IMSL C# Numerical Library

ClusterKMeans.SetWeights Method 

Sets the weight for each observation.

public void SetWeights(
   double[] weights
);

Parameters

weights
A double array of size x.GetLength(0) containing the weight for each observation.

Remarks

By default, Weights[] = 1.

See Also

ClusterKMeans Class | Imsl.Stat Namespace