Click or drag to resize
Accord.NET (logo)

KMedoidsClusterCollectionTRandomize Method

Randomizes the clusters inside a dataset.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public int[] Randomize(
	T[][] points,
	Seeding strategy = Seeding.PamBuild,
	ParallelOptions parallelOptions = null
)
Request Example View Source

Parameters

points
Type: T
The data to randomize the algorithm.
strategy (Optional)
Type: Accord.MachineLearningSeeding
The seeding strategy to be used. Default is PamBuild.
parallelOptions (Optional)
Type: System.Threading.TasksParallelOptions
The parallelization options for this procedure. Only relevant for the PamBuild.

Return Value

Type: Int32
Array of point indices, if clusters were binded to points, null otherwise.
See Also