Functions | |
template<typename T > | |
T | Exponential (T value) |
Natural exponential function f(x) = exp(x) | |
template<typename T > | |
std::function< T(T)> | GetFunction (const std::string &name) |
Get function pointer to implementation from name given as string. | |
template<typename T > | |
T | Identity (T value) |
Identity function f(x) = x. | |
template<typename T > | |
T | Logistic (T value) |
Logistic function f(x) = 1 / (1 + exp(-x)) | |
|
inline |
Natural exponential function f(x) = exp(x)
This objective is used for the softmax objective in the multiclass case with the formula exp(x)/sum(exp(x)) and the vector x.
Definition at line 51 of file Objectives.hxx.
std::function< T(T)> TMVA::Experimental::Objectives::GetFunction | ( | const std::string & | name | ) |
Get function pointer to implementation from name given as string.
Definition at line 58 of file Objectives.hxx.
|
inline |
Identity function f(x) = x.
Definition at line 41 of file Objectives.hxx.
|
inline |
Logistic function f(x) = 1 / (1 + exp(-x))
Definition at line 34 of file Objectives.hxx.