17 namespace Approximation
27 boost::property_tree::ptree options = boost::property_tree::ptree()) :
StateSpaceGP(meanIn.Clone(), kernelIn.Clone(), options){};
30 std::shared_ptr<KernelBase> covKernelIn,
31 boost::property_tree::ptree options = boost::property_tree::ptree());
35 virtual Eigen::MatrixXd
Sample(Eigen::MatrixXd
const& times)
override;
38 virtual std::pair<Eigen::MatrixXd, Eigen::MatrixXd>
Predict(Eigen::MatrixXd
const& newLocs,
41 virtual Eigen::MatrixXd
PredictMean(Eigen::MatrixXd
const& newPts)
override;
45 Eigen::MatrixXd
const& vals)
override;
48 bool computeGrad =
true)
override;
51 std::shared_ptr<muq::Modeling::LinearSDE>
GetSDE(){
return sde;};
53 std::shared_ptr<muq::Modeling::LinearOperator>
GetObs(){
return obsOp;};
55 void SetObs(std::shared_ptr<muq::Modeling::LinearOperator> newObs);
57 Eigen::MatrixXd
GetCov(){
return L.triangularView<Eigen::Lower>()*
L.transpose();};
67 StateSpaceGP(std::tuple<std::shared_ptr<muq::Modeling::LinearSDE>, std::shared_ptr<muq::Modeling::LinearOperator>, Eigen::MatrixXd> ssInfo,
68 std::shared_ptr<MeanFunctionBase> meanIn,
69 std::shared_ptr<KernelBase> covKernelIn);
79 std::shared_ptr<muq::Modeling::LinearSDE>
sde;
82 std::shared_ptr<muq::Modeling::LinearOperator>
obsOp;
87 std::shared_ptr<MeanFunctionBase>
mean;
virtual double MarginalLogLikelihood()
Base class for all covariance kernels.
virtual Eigen::MatrixXd PredictMean(Eigen::MatrixXd const &newPts) override
virtual std::pair< Eigen::MatrixXd, Eigen::MatrixXd > Predict(Eigen::MatrixXd const &newLocs, CovarianceType covType) override
std::shared_ptr< muq::Modeling::LinearOperator > GetObs()
bool ComputeAQ(double dt)
virtual Eigen::MatrixXd Sample(Eigen::MatrixXd const ×) override
void SetObs(std::shared_ptr< muq::Modeling::LinearOperator > newObs)
std::shared_ptr< MeanFunctionBase > mean
std::shared_ptr< muq::Modeling::LinearSDE > sde
std::shared_ptr< muq::Modeling::LinearOperator > obsOp
std::shared_ptr< muq::Modeling::LinearSDE > GetSDE()
virtual ~StateSpaceGP()=default
virtual double LogLikelihood(Eigen::MatrixXd const &xs, Eigen::MatrixXd const &vals) override
std::shared_ptr< KernelBase > covKernel
StateSpaceGP(MeanFunctionBase &meanIn, KernelBase &kernelIn, boost::property_tree::ptree options=boost::property_tree::ptree())