Runs the sequential k-means algorithm on the items currently in the table. It first creates clusterCount random clusters, then performs iterationsCount iterations of the algorithm on those clusters.

Namespace:  Cloudster
Assembly:  Cloudster.CoreLib (in Cloudster.CoreLib.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void Run(
	int iterationsCount,
	int clusterCount,
	IEnumerable<TEntity> entities
)
Visual Basic (Declaration)
Public Sub Run ( _
	iterationsCount As Integer, _
	clusterCount As Integer, _
	entities As IEnumerable(Of TEntity) _
)
Visual C++
public:
void Run(
	int iterationsCount, 
	int clusterCount, 
	IEnumerable<TEntity>^ entities
)

Parameters

iterationsCount
Type: System..::.Int32
The number of iterations to perform
clusterCount
Type: System..::.Int32
Number of clusters to build
entities
Type: System.Collections.Generic..::.IEnumerable<(Of <(TEntity>)>)
Enumerable of entities to use in the process

See Also