IT++ Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vqtrain.h
Go to the documentation of this file.
1 
29 #ifndef VQTRAIN_H
30 #define VQTRAIN_H
31 
32 #include <itpp/base/vec.h>
33 #include <itpp/base/mat.h>
34 #include <itpp/base/array.h>
35 
36 
37 namespace itpp
38 {
39 
41 double kmeansiter(Array<vec> &DB, mat &codebook);
43 mat kmeans(Array<vec> &DB, int SIZE, int NOITER = 9999, bool VERBOSE = true);
45 mat lbg(Array<vec> &DB, int SIZE, int NOITER = 9999, bool VERBOSE = true);
46 
66 mat vqtrain(Array<vec> &DB, int SIZE, int NOITER, double STARTSTEP = 0.2, bool VERBOSE = true);
67 
69 vec sqtrain(const vec &inDB, int SIZE);
70 
72 ivec bitalloc(const vec& variances, int nobits);
73 
74 } // namespace itpp
75 
76 #endif // #ifndef VQTRAIN_H
SourceForge Logo

Generated on Fri Mar 21 2014 17:14:14 for IT++ by Doxygen 1.8.1.2