BayesOpt
|
Linear combination plus constant function. More...
#include <mean_atomic.hpp>
Public Member Functions | |
int | init (size_t input_dim) |
void | setParameters (const vectord ¶ms) |
double | getMean (const vectord &x) |
vectord | getFeatures (const vectord &x) |
Public Member Functions inherited from bayesopt::AtomicFunction | |
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) |
Protected Attributes | |
double | mConstParam |
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 |
Linear combination plus constant function.
The first parameter indicates the constant value.
Definition at line 136 of file mean_atomic.hpp.