ATLAS Offline Software
Classes | Namespaces | Functions
Forest.h File Reference
#include "MVAUtils/ForestBase.h"
#include "NodeImpl.h"
#include <stack>
#include <cmath>
#include <algorithm>
#include <numeric>
#include <iostream>
#include <vector>
#include "Forest.icc"
Include dependency graph for Forest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MVAUtils::Forest< Node_t >
 Generic Forest base class. More...
 

Namespaces

 MVAUtils
 
 MVAUtils::detail
 

Functions

template<typename 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} More...
 
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. More...