ATLAS Offline Software
|
Functions | |
template<typename T > | |
T | sigmoid (T x) |
template<typename Container_t > | |
void | applySoftmax (Container_t &x) |
apply softmax to the input: {exp[xi] / sum(exp[xj]) for xi in x} More... | |
std::vector< index_t > | computeRight (const std::vector< int > &vars) |
Compute the offsets between the nodes to their right children from a serialized representation of the tree with preoder traversal. More... | |
void MVAUtils::detail::applySoftmax | ( | Container_t & | x | ) |
apply softmax to the input: {exp[xi] / sum(exp[xj]) for xi in x}
Compute the offsets between the nodes to their right children from a serialized representation of the tree with preoder traversal.
Returns 0 for leafs. This function is used in the constructors of the Forest* classes