SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
FactorAnalysis.h
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 Fernando J. Iglesias Garcia
8  * Copyright (C) 2011-2013 Fernando J. Iglesias Garcia
9  */
10 
11 #ifndef FACTOR_ANALYSIS_H_
12 #define FACTOR_ANALYSIS_H_
13 #include <shogun/lib/config.h>
16 
17 namespace shogun
18 {
19 
50 {
51 public:
52 
55 
57  virtual ~CFactorAnalysis();
58 
60  virtual const char* get_name() const;
61 
66  virtual CFeatures* apply(CFeatures* features);
67 
72  void set_max_iteration(const int32_t max_iteration);
73 
78  int32_t get_max_iteration() const;
79 
84  void set_epsilon(const float64_t epsilon);
85 
90  float64_t get_epsilon() const;
91 
92 private:
93 
95  void init();
96 
97 private:
98 
100  int32_t m_max_iteration;
101 
103  float64_t m_epsilon;
104 
105 }; /* class CFactorAnalysis */
106 
107 } /* namespace shogun */
108 
109 #endif /* FACTOR_ANALYSIS_H_ */
float64_t get_epsilon() const
The Factor Analysis class is used to embed data using Factor Analysis algorithm.
class EmbeddingConverter (part of the Efficient Dimensionality Reduction Toolkit) used to construct e...
void set_max_iteration(const int32_t max_iteration)
void set_epsilon(const float64_t epsilon)
double float64_t
Definition: common.h:50
virtual CFeatures * apply(CFeatures *features)
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
virtual const char * get_name() const
The class Features is the base class of all feature objects.
Definition: Features.h:68
int32_t get_max_iteration() const

SHOGUN Machine Learning Toolbox - Documentation