SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ICAConverter.cpp
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2013 Kevin Hughes
8  */
9 
11 
12 #ifdef HAVE_EIGEN3
13 
14 using namespace shogun;
15 
17 {
18  init();
19 }
20 
22 {
24  max_iter = 200;
25  tol = 1e-6;
26 
27  SG_ADD(&m_mixing_matrix, "mixing_matrix", "the mixing matrix", MS_NOT_AVAILABLE);
28  SG_ADD(&max_iter, "max_iter", "maximum number of iterations", MS_NOT_AVAILABLE);
29  SG_ADD(&tol, "tol", "the convergence tolerance", MS_NOT_AVAILABLE);
30 }
31 
33 {
34 }
35 
37 {
38  m_mixing_matrix = mixing_matrix;
39 }
40 
42 {
43  return m_mixing_matrix;
44 }
45 
47 {
48  max_iter = iter;
49 }
50 
52 {
53  return max_iter;
54 }
55 
57 {
58  tol = _tol;
59 }
60 
62 {
63  return tol;
64 }
65 
66 #endif // HAVE_EIGEN3

SHOGUN Machine Learning Toolbox - Documentation