Pattern_to_Categories_cluster.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* Pattern_to_Categories_cluster.h
  2. *
  3. * Copyright (C) 2007-2008 Ola Söder
  4. *
  5. * This code is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This code is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /*
  19. * os 20070529 Initial release
  20. * pb 2011/03/08 C++
  21. */
  22. /////////////////////////////////////////////////////
  23. // DEBUG //
  24. /////////////////////////////////////////////////////
  25. //#define CLUSTERING_DEBUG
  26. /////////////////////////////////////////////////////
  27. // Praat datatypes //
  28. /////////////////////////////////////////////////////
  29. #include "PatternList.h"
  30. #include "Categories.h"
  31. /////////////////////////////////////////////////////
  32. // Miscs //
  33. /////////////////////////////////////////////////////
  34. #include "FeatureWeights.h"
  35. /////////////////////////////////////////////////////
  36. // Prototypes //
  37. /////////////////////////////////////////////////////
  38. // PatternList_to_Categories_cluster
  39. autoCategories PatternList_to_Categories_cluster
  40. (
  41. PatternList p, // source
  42. FeatureWeights fws, // feature weights
  43. integer k, // k(!)
  44. double s, // clustersize constraint 0 < s <= 1
  45. integer m // reseed maximum
  46. );
  47. /* End of file PatternList_to_Categories_cluster.h */