KMeans Cluster Analysis.Predictions Property
Returns the index of the cluster each observation belongs to
as a CategoricalVector<T>.
Definition
Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
C#
A CategoricalVector<T> containing the zero-based indexes of the cluster each observation belongs to.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
public CategoricalVector<int> Predictions { get; }Property Value
CategoricalVector<Int32>A CategoricalVector<T> containing the zero-based indexes of the cluster each observation belongs to.
Remarks
This property is only available when the model is fitted. It throws an InvalidOperationException if the model is empty or deployed.