Click or drag to resize
Accord.NET (logo)

BagOfAudioWordsCreateTExtractor, TClustering Method (TExtractor, Int32)

Creates a Bag-of-Words model using the given feature detector and K-Means.

Namespace:  Accord.Audition
Assembly:  Accord.Audition (in Accord.Audition.dll) Version: 3.8.0
Syntax
public static BagOfAudioWords<IFeatureDescriptor<double[]>, double[], KMeans, TExtractor> Create<TExtractor, TClustering>(
	TExtractor extractor,
	int numberOfWords
)
where TExtractor : Object, IAudioFeatureExtractor<IFeatureDescriptor<double[]>>
Request Example View Source

Parameters

extractor
Type: TExtractor
numberOfWords
Type: SystemInt32

Type Parameters

TExtractor
TClustering

Return Value

Type: BagOfAudioWordsIFeatureDescriptorDouble, Double, KMeans, TExtractor
See Also