SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
FactorAnalysis.h
浏览该文件的文档.
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>
14 #ifdef HAVE_EIGEN3
17 
18 namespace shogun
19 {
20 
51 {
52 public:
53 
56 
58  virtual ~CFactorAnalysis();
59 
61  virtual const char* get_name() const;
62 
67  virtual CFeatures* apply(CFeatures* features);
68 
73  void set_max_iteration(const int32_t max_iteration);
74 
79  int32_t get_max_iteration() const;
80 
85  void set_epsilon(const float64_t epsilon);
86 
91  float64_t get_epsilon() const;
92 
93 private:
94 
96  void init();
97 
98 private:
99 
101  int32_t m_max_iteration;
102 
104  float64_t m_epsilon;
105 
106 }; /* class CFactorAnalysis */
107 
108 } /* namespace shogun */
109 
110 #endif /* HAVE_EIGEN3 */
111 #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)
static const float64_t epsilon
Definition: libbmrm.cpp:25
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 机器学习工具包 - 项目文档