#include <ForestXGBoost.h>
template<typename Node_t>
class MVAUtils::ForestXGBoostBase< Node_t >
Definition at line 28 of file ForestXGBoost.h.
◆ GetClassification() [1/2]
template<typename Node_t >
◆ GetClassification() [2/2]
template<typename Node_t >
◆ GetMultiResponse() [1/2]
template<typename Node_t >
virtual std::vector<float> MVAUtils::Forest< Node_t >::GetMultiResponse |
( |
const std::vector< float * > & |
pointers, |
|
|
unsigned int |
numClasses |
|
) |
| const |
|
overridevirtualinherited |
◆ GetMultiResponse() [2/2]
template<typename Node_t >
virtual std::vector<float> MVAUtils::Forest< Node_t >::GetMultiResponse |
( |
const std::vector< float > & |
values, |
|
|
unsigned int |
numClasses |
|
) |
| const |
|
overridevirtualinherited |
Compute the prediction for multiclassification (a score for each class).
In addition to the input values need to pass the number of classes
Implements MVAUtils::IForest.
◆ GetNTrees()
template<typename Node_t >
|
inlinefinaloverridevirtualinherited |
◆ GetNVars()
virtual int MVAUtils::IForest::GetNVars |
( |
| ) |
const |
|
pure virtualinherited |
◆ GetOffset()
template<typename Node_t >
|
inlineoverridevirtualinherited |
◆ GetRawResponse() [1/2]
template<typename Node_t >
virtual float MVAUtils::Forest< Node_t >::GetRawResponse |
( |
const std::vector< float * > & |
pointers | ) |
const |
|
finaloverridevirtualinherited |
◆ GetRawResponse() [2/2]
template<typename Node_t >
|
finaloverridevirtualinherited |
◆ GetResponse() [1/2]
template<typename Node_t >
◆ GetResponse() [2/2]
template<typename Node_t >
◆ GetTree()
template<typename Node_t >
std::vector<Node_t> MVAUtils::Forest< Node_t >::GetTree |
( |
unsigned int |
itree | ) |
const |
|
inherited |
Return the vector of nodes for the tree itree.
◆ GetTreeResponse() [1/2]
template<typename Node_t >
virtual float MVAUtils::Forest< Node_t >::GetTreeResponse |
( |
const std::vector< float * > & |
pointers, |
|
|
unsigned int |
itree |
|
) |
| const |
|
finaloverridevirtualinherited |
◆ GetTreeResponse() [2/2]
template<typename Node_t >
virtual float MVAUtils::Forest< Node_t >::GetTreeResponse |
( |
const std::vector< float > & |
values, |
|
|
unsigned int |
itree |
|
) |
| const |
|
finaloverridevirtualinherited |
Return the response of one tree Must pass the features in a std::vector<float> values and the index of the tree.
Implements MVAUtils::IForest.
◆ GetTreeResponseFromNode() [1/2]
template<typename Node_t >
◆ GetTreeResponseFromNode() [2/2]
template<typename Node_t >
Get the response of a tree.
Instead of specifying the index of the tree (as in GetTreeResponse) the index of the top node of the tree should be specified
◆ newTree()
template<typename Node_t >
append a new tree (defined by a vector of nodes serialized in preorder) to the forest
◆ PrintForest()
template<typename Node_t >
◆ PrintTree()
template<typename Node_t >
◆ WriteTree()
virtual TTree* MVAUtils::IForest::WriteTree |
( |
TString |
| ) |
const |
|
pure virtualinherited |
◆ m_forest
template<typename Node_t >
indices of the top-level nodes of each tree
Definition at line 117 of file Forest.h.
◆ m_nodes
template<typename Node_t >
where the nodes of the forest are stored
Definition at line 118 of file Forest.h.
The documentation for this class was generated from the following file:
std::vector< T * > pointers(std::vector< T > &v)