![]() |
ATLAS Offline Software
|
#include "MVAUtils/ForestBase.h"#include "NodeImpl.h"#include <stack>#include <cmath>#include <algorithm>#include <numeric>#include <iostream>#include <vector>#include "Forest.icc"Go to the source code of this file.
Classes | |
| class | MVAUtils::Forest< Node_t > |
| Generic Forest base class. More... | |
Namespaces | |
| namespace | MVAUtils |
| namespace | MVAUtils::detail |
Functions | |
| template<typename T> | |
| T | MVAUtils::detail::sigmoid (T x) |
| template<typename Container_t> | |
| void | MVAUtils::detail::applySoftmax (Container_t &x) |
| apply softmax to the input: {exp[xi] / sum(exp[xj]) for xi in x} | |
| std::vector< index_t > | MVAUtils::detail::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. | |