BayesOpt
bayesopt::LinKernel Class Reference

Linear kernel. More...

#include <kernel_linear.hpp>

+ Inheritance diagram for bayesopt::LinKernel:
+ Collaboration diagram for bayesopt::LinKernel:

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

Linear kernel.

Definition at line 35 of file kernel_linear.hpp.


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