Ejemplo n.º 1
0
 /// <summary>
 ///   Constructs a new <see cref="BagOfAudioWords"/>.
 /// </summary>
 ///
 /// <param name="extractor">The feature extractor to use.</param>
 /// <param name="numberOfWords">The number of codewords.</param>
 ///
 public BagOfAudioWords(IAudioFeatureExtractor <TFeature> extractor, int numberOfWords)
 {
     base.Init(extractor, BagOfWords.GetDefaultClusteringAlgorithm(numberOfWords));
 }
Ejemplo n.º 2
0
 /// <summary>
 ///   Constructs a new <see cref="BagOfAudioWords"/>.
 /// </summary>
 ///
 /// <param name="extractor">The feature extractor to use.</param>
 /// <param name="algorithm">The clustering algorithm to use.</param>
 ///
 public BagOfAudioWords(IAudioFeatureExtractor <TFeature> extractor,
                        IUnsupervisedLearning <IClassifier <double[], int>, double[], int> algorithm)
 {
     base.Init(extractor, algorithm);
 }
Ejemplo n.º 3
0
 /// <summary>
 ///   Constructs a new <see cref="BagOfAudioWords"/>.
 /// </summary>
 ///
 /// <param name="extractor">The feature extractor to use.</param>
 /// <param name="algorithm">The clustering algorithm to use.</param>
 ///
 public BagOfAudioWords(IAudioFeatureExtractor <TFeature> extractor,
                        IUnsupervisedLearning <IClassifier <TPoint, int>, TPoint, int> algorithm)
 {
     Init(extractor, algorithm);
 }