MultivariateMeansClustering Method |
Compute k-means clusters of the data.
Namespace:
Meta.Numerics.Statistics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static MeansClusteringResult MeansClustering(
this IReadOnlyList<IReadOnlyList<double>> columns,
int m
)
<ExtensionAttribute>
Public Shared Function MeansClustering (
columns As IReadOnlyList(Of IReadOnlyList(Of Double)),
m As Integer
) As MeansClusteringResult
public:
[ExtensionAttribute]
static MeansClusteringResult^ MeansClustering(
IReadOnlyList<IReadOnlyList<double>^>^ columns,
int m
)
[<ExtensionAttribute>]
static member MeansClustering :
columns : IReadOnlyList<IReadOnlyList<float>> *
m : int -> MeansClusteringResult
Parameters
- columns
- Type: System.Collections.GenericIReadOnlyListIReadOnlyListDouble
The data columns on which to perform the analysis. - m
- Type: SystemInt32
The number of clusters to compute.
Return Value
Type:
MeansClusteringResultA description of the identified clusters.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IReadOnlyListIReadOnlyListDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions Remarks Note that the columns argument is column-oriented, i.e. it is a list of columns,
not row-oriented, i.e. a list of rows. Either of these would match the method signature, but only
column-oriented inputs will produce correct results.
See Also