Forest base class.
| T | Value type for the computation (usually floating point type) |
| ForestType | Type of the collection of trees |
Definition at line 67 of file Forest.hxx.
Public Types | |
| using | Value_t = T |
Public Member Functions | |
| void | Inference (const T *inputs, const int rows, bool layout, T *predictions) |
| Perform inference of the forest on a batch of inputs. | |
Public Attributes | |
| int | fNumInputs |
| Number of input variables. | |
| std::function< T(T)> | fObjectiveFunc |
| Objective function. | |
| ForestType | fTrees |
| Store the forest, either as vector or jitted function. | |
#include <TMVA/TreeInference/Forest.hxx>
| using TMVA::Experimental::ForestBase< T, ForestType >::Value_t = T |
Definition at line 68 of file Forest.hxx.
|
inline |
Perform inference of the forest on a batch of inputs.
| [in] | inputs | Pointer to data containing the inputs |
| [in] | rows | Number of events in inputs vector |
| [in] | layout | Row major (true) or column major (false) memory layout |
| [in] | predictions | Pointer to the buffer to be filled with the predictions |
Definition at line 83 of file Forest.hxx.
| int TMVA::Experimental::ForestBase< T, ForestType >::fNumInputs |
Number of input variables.
Definition at line 71 of file Forest.hxx.
| std::function<T(T)> TMVA::Experimental::ForestBase< T, ForestType >::fObjectiveFunc |
Objective function.
Definition at line 69 of file Forest.hxx.
| ForestType TMVA::Experimental::ForestBase< T, ForestType >::fTrees |
Store the forest, either as vector or jitted function.
Definition at line 70 of file Forest.hxx.