Click or drag to resize
Accord.NET (logo)

BagOfWordsGetDefaultClusteringAlgorithm Method

Creates the default clustering algorithm for Bag-of-Words models (KMeans).

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public static KMeans GetDefaultClusteringAlgorithm(
	int numberOfWords
)
Request Example View Source

Parameters

numberOfWords
Type: SystemInt32
The number of clusters for k-means.

Return Value

Type: KMeans
See Also