You are here: Start » AVL.NET » Function Reference » Data Classification » Clustering » AVL.ClusterPoints3D

AVL.ClusterPoints3D

Clusters 3D points using K Means Clustering method.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ClusterPoints3D
(
	IList<AvlNet.Point3D> inPoints,
	int inClusters,
	int inMaxIterations,
	int inRunCount,
	IList<NullableRef<List<AvlNet.Point3D>>> outClusters,
	IList<AvlNet.Point3D?> outCentroids,
	out float outDistanceSum
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point3D>Array of points to cluster.
inClustersint<2, +INF>2Number of clusters to extract. Default value: 2.
inMaxIterationsint<10, 1000>200Maximal number of KMeans iterations. Default value: 200.
inRunCountint<1, +INF>1Defines how many times the algorithm will be executed. Default value: 1.
outClustersSystem.Collections.Generic.IList<AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point3D>>>Resulting Point3D clusters.
outCentroidsSystem.Collections.Generic.IList<AvlNet.Point3D?>Center of found clusters.
outDistanceSumfloatSum of distance squares from points in array to its respective cluster center.

Function Overrides

See also