|
BagOfAudioWordsCreateTExtractor, TClustering Method (TExtractor, TClustering)
|
Creates a Bag-of-Words model using the given feature detector and clustering algorithm.
Namespace:
Accord.Audition
Assembly:
Accord.Audition (in Accord.Audition.dll) Version: 3.8.0
Syntax public static BagOfAudioWords<IFeatureDescriptor<double[]>, double[], TClustering, TExtractor> Create<TExtractor, TClustering>(
TExtractor extractor,
TClustering clustering
)
where TExtractor : Object, IAudioFeatureExtractor<IFeatureDescriptor<double[]>>
where TClustering : Object, IUnsupervisedLearning<IClassifier<double[], int>, double[], int>
Public Shared Function Create(Of TExtractor As {Object, IAudioFeatureExtractor(Of IFeatureDescriptor(Of Double()))}, TClustering As {Object, IUnsupervisedLearning(Of IClassifier(Of Double(), Integer), Double(), Integer)}) (
extractor As TExtractor,
clustering As TClustering
) As BagOfAudioWords(Of IFeatureDescriptor(Of Double()), Double(), TClustering, TExtractor)
Request Example
View SourceParameters
- extractor
- Type: TExtractor
- clustering
- Type: TClustering
Type Parameters
- TExtractor
- TClustering
Return Value
Type:
BagOfAudioWordsIFeatureDescriptorDouble,
Double,
TClustering,
TExtractorSee Also