Logo ROOT   6.21/01
Reference Guide
TMVA::Experimental::BranchlessForest< T > Struct Template Reference

template<typename T>
struct TMVA::Experimental::BranchlessForest< T >

Forest using branchless trees.

Template Parameters
TValue type for the computation (usually floating point type)

Definition at line 100 of file Forest.hxx.

Public Member Functions

void Load (const std::string &key, const std::string &filename, const int output=0, const bool sortTrees=true)
 Load parameters from a ROOT file to the branchless trees. More...
 
- Public Member Functions inherited from TMVA::Experimental::ForestBase< T, ForestType >
void Inference (const T *inputs, const int rows, bool layout, T *predictions)
 Perform inference of the forest on a batch of inputs. More...
 

Additional Inherited Members

- Public Types inherited from TMVA::Experimental::ForestBase< T, ForestType >
using Value_t = T
 
- Public Attributes inherited from TMVA::Experimental::ForestBase< T, ForestType >
int fNumInputs
 Number of input variables. More...
 
std::function< T(T)> fObjectiveFunc
 Objective function. More...
 
ForestType fTrees
 Store the forest, either as vector or jitted function. More...
 

#include <TMVA/TreeInference/Forest.hxx>

Inheritance diagram for TMVA::Experimental::BranchlessForest< T >:
[legend]

Member Function Documentation

◆ Load()

template<typename T >
void TMVA::Experimental::BranchlessForest< T >::Load ( const std::string &  key,
const std::string &  filename,
const int  output = 0,
const bool  sortTrees = true 
)
inline

Load parameters from a ROOT file to the branchless trees.

Parameters
[in]keyName of folder in the ROOT file containing the model parameters
[in]filenameFilename of the ROOT file
[in]outputLoad trees corresponding to the given output node of the forest
[in]sortTreesFlag to indicate sorting the input trees by the cut value of the first node of each tree

Definition at line 112 of file Forest.hxx.

Collaboration diagram for TMVA::Experimental::BranchlessForest< T >:
[legend]

The documentation for this struct was generated from the following file: