Logo ROOT  
Reference Guide
TMVA::Experimental::Objectives Namespace Reference

Functions

template<typename T >
Exponential (T value)
 Natural exponential function f(x) = exp(x) More...
 
template<typename T >
std::function< T(T)> GetFunction (const std::string &name)
 Get function pointer to implementation from name given as string. More...
 
template<typename T >
Identity (T value)
 Identity function f(x) = x. More...
 
template<typename T >
Logistic (T value)
 Logistic function f(x) = 1 / (1 + exp(-x)) More...
 

Function Documentation

◆ Exponential()

template<typename T >
T TMVA::Experimental::Objectives::Exponential ( value)
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.

◆ GetFunction()

template<typename T >
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.

◆ Identity()

template<typename T >
T TMVA::Experimental::Objectives::Identity ( value)
inline

Identity function f(x) = x.

Definition at line 41 of file Objectives.hxx.

◆ Logistic()

template<typename T >
T TMVA::Experimental::Objectives::Logistic ( value)
inline

Logistic function f(x) = 1 / (1 + exp(-x))

Definition at line 34 of file Objectives.hxx.