SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GaussianProcessMachine.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 Roman Votyakov
8  */
9 
10 #ifndef _GAUSSIANPROCESSMACHINE_H_
11 #define _GAUSSIANPROCESSMACHINE_H_
12 
13 #include <shogun/lib/config.h>
14 #include <shogun/machine/Machine.h>
16 
17 #ifdef HAVE_EIGEN3
18 
19 namespace shogun
20 {
21 
34 {
35 public:
38 
44 
45  virtual ~CGaussianProcessMachine();
46 
51  virtual const char* get_name() const { return "GaussianProcessMachine"; }
52 
62 
72 
78  {
80  return m_method;
81  }
82 
88  {
89  SG_REF(method);
91  m_method=method;
92  }
93 
98  virtual void set_labels(CLabels* lab)
99  {
101  m_method->set_labels(lab);
102  }
103 
109  virtual void store_model_features() { }
110 
111 private:
112  void init();
113 
114 protected:
117 };
118 }
119 #endif /* HAVE_EIGEN3 */
120 #endif /* _GAUSSIANPROCESSMACHINE_H_ */

SHOGUN Machine Learning Toolbox - Documentation