SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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 
13 using namespace shogun;
14 
16 {
17  init();
18 }
19 
21 {
23  max_iter = 200;
24  tol = 1e-6;
25 
26  SG_ADD(&m_mixing_matrix, "mixing_matrix", "the mixing matrix", MS_NOT_AVAILABLE);
27  SG_ADD(&max_iter, "max_iter", "maximum number of iterations", MS_NOT_AVAILABLE);
28  SG_ADD(&tol, "tol", "the convergence tolerance", MS_NOT_AVAILABLE);
29 }
30 
32 {
33 }
34 
36 {
37  m_mixing_matrix = mixing_matrix;
38 }
39 
41 {
42  return m_mixing_matrix;
43 }
44 
46 {
47  max_iter = iter;
48 }
49 
51 {
52  return max_iter;
53 }
54 
56 {
57  tol = _tol;
58 }
59 
61 {
62  return tol;
63 }
64 
class Converter used to convert data
Definition: Converter.h:26
void set_max_iter(int iter)
double float64_t
Definition: common.h:50
float64_t get_tol() const
SGMatrix< float64_t > get_mixing_matrix() const
void set_tol(float64_t tol)
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
SGMatrix< float64_t > m_mixing_matrix
Definition: ICAConverter.h:82
void set_mixing_matrix(SGMatrix< float64_t >mixing_matrix)
#define SG_ADD(...)
Definition: SGObject.h:84
int get_max_iter() const

SHOGUN Machine Learning Toolbox - Documentation