13#include <MachineLearning/FgDeepGPBaseModel.h>
17 namespace MachineLearning
30 template<
typename Scalar>
57 SparseDeepGPBaseModel(
const af::array& Y,
const af::array& X, std::vector<HiddenLayerDescription> hiddenLayerdescriptions, LogLikType lType = LogLikType::Gaussian);
81 virtual bool Init()
override;
106 friend class boost::serialization::access;
108 template<
class Archive>
109 void serialize(Archive& ar,
unsigned int version)
111 ar& boost::serialization::base_object<DeepGPBaseModel<Scalar>>(*this);
115 ar& BOOST_SERIALIZATION_NVP(iq);
116 ar& BOOST_SERIALIZATION_NVP(afX);
Base class with abstract and basic function definitions. All deep GP models will be derived from this...
Base class with abstract and basic function definitions. All deep GP models will be derived from this...
SparseDeepGPBaseModel(const af::array &Y, const af::array &X, HiddenLayerDescription hiddenLayerdescription, LogLikType lType=LogLikType::Gaussian)
Constructor.
virtual void FixInducing(bool isfixed)
Set fixation for inducing inputs.
af::array GetTrainingInputs()
Gets training inputs.
virtual bool Init() override
Initializes the model.
SparseDeepGPBaseModel()
Default Constructor.
SparseDeepGPBaseModel(const af::array &Y, const af::array &X, std::vector< HiddenLayerDescription > hiddenLayerdescriptions, LogLikType lType=LogLikType::Gaussian)
Constructor.
virtual ~SparseDeepGPBaseModel()
Destructor.
Description of the layer.