BayesOpt
bayesopt::ConstKernel Class Reference

Constant kernel. More...

#include <kernel_const.hpp>

+ Inheritance diagram for bayesopt::ConstKernel:
+ Collaboration diagram for bayesopt::ConstKernel:

Public Member Functions

void init (size_t input_dim)
 
double operator() (const vectord &x1, const vectord &x2)
 
double gradient (const vectord &x1, const vectord &x2, size_t component)
 
- Public Member Functions inherited from bayesopt::AtomicKernel
void setHyperParameters (const vectord &theta)
 
vectord getHyperParameters ()
 
size_t nHyperParameters ()
 
- Public Member Functions inherited from bayesopt::Kernel
virtual void init (size_t input_dim, Kernel *left, Kernel *right)
 

Additional Inherited Members

- Protected Attributes inherited from bayesopt::AtomicKernel
size_t n_params
 
vectord params
 
- Protected Attributes inherited from bayesopt::Kernel
size_t n_inputs
 

Detailed Description

Constant kernel.

Combined with sum and product kernel can be used to scale a kernel or add noise.

Definition at line 39 of file kernel_const.hpp.


The documentation for this class was generated from the following file: