ClusterKMeansSetWeights Method |
Sets the weight for each observation.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public void SetWeights(
double[] weights
)
Public Sub SetWeights (
weights As Double()
)
public:
void SetWeights(
array<double>^ weights
)
member SetWeights :
weights : float[] -> unit
Parameters
- weights
- Type: SystemDouble
A double array of size x.GetLength(0) containing the
weight for each observation.
Remarks
By default, Weights[] = 1.
See Also