BayesOpt
bayesopt::ConstantFunction Class Reference

Constant function. More...

#include <mean_atomic.hpp>

+ Inheritance diagram for bayesopt::ConstantFunction:
+ Collaboration diagram for bayesopt::ConstantFunction:

Public Member Functions

int init (size_t input_dim)
 
double getMean (const vectord &x)
 
vectord getFeatures (const vectord &x)
 
- Public Member Functions inherited from bayesopt::AtomicFunction
void setParameters (const vectord &theta)
 
vectord getParameters ()
 
size_t nParameters ()
 
size_t nFeatures ()
 
- Public Member Functions inherited from bayesopt::ParametricFunction
virtual int init (size_t input_dim, ParametricFunction *left, ParametricFunction *right)
 
virtual vectord operator() (const vecOfvec &x)
 
virtual matrixd getAllFeatures (const vecOfvec &x)
 

Additional Inherited Members

- Protected Attributes inherited from bayesopt::AtomicFunction
size_t n_params
 
size_t n_features
 
vectord mParameters
 
- Protected Attributes inherited from bayesopt::ParametricFunction
size_t n_inputs
 

Detailed Description

Constant function.

The first parameter indicates the constant value.

Definition at line 101 of file mean_atomic.hpp.


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