|
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
)
Public Function Randomize (
points As T()(),
Optional strategy As Seeding = Seeding.PamBuild,
Optional parallelOptions As ParallelOptions = Nothing
) As Integer()
Request Example
View SourceParameters
- 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:
Int32Array of point indices, if clusters were binded to points, null otherwise.
See Also