NeuralEngine
A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes.
FgVFESparseGPR.h
1
11#pragma once
12
13#include <MachineLearning/FgSparseGPBaseModel.h>
14
15namespace NeuralEngine
16{
17 namespace MachineLearning
18 {
19 namespace GPModels
20 {
21 namespace VFE
22 {
41 class NE_IMPEXP SGPR// : public SparseGPBaseModel
42 {
43 public:
54 //SGPR(const af::array& Y, const af::array& X, int numInducing = 20, LogLikType lType = LogLikType::Gaussian);
55
73 //virtual void Optimise(
74 // OptimizerType method = SCGOptimizer,
75 // double tol = 0.0,
76 // bool reinit_hypers = true,
77 // int maxiter = 1000,
78 // double alpha = 0.5,
79 // int mb_size = 0,
80 // bool disp = true
81 //) override;
82
92 //virtual double Function(af::array& x) override;
93
103 //virtual af::array Gradient(af::array& x) override;
104
112 //virtual bool Init() override;
113
114 protected:
115 SGPR();
116
117 private:
118 double dAlpha;
119
120 //friend class boost::serialization::access;
121
122 //template<class Archive>
123 //void serialize(Archive& ar, unsigned int version)
124 //{
125 // ar & boost::serialization::base_object<SparseGPBaseModel>(*this);
126 // //ar & dAlpha;
127 //}
128 };
129 }
130 }
131 }
132}
Sparse Gaussian Process Regression Model (SGPR) with optimization through Variational Free Energy (VF...