A replacement for the TMVA::Reader legacy interface.
Performs inference for TMVA models stored as XML files. For neural network inference consider using SOFIE instead.
Definition at line 136 of file RReader.hxx.
Public Member Functions | |
RReader (const std::string &path) | |
Create TMVA model from XML file. | |
std::vector< float > | Compute (const std::vector< float > &x) |
Compute model prediction on vector. | |
RTensor< float > | Compute (RTensor< float > &x) |
Compute model prediction on input RTensor. | |
std::vector< std::string > | GetSpectatorNames () |
std::vector< std::string > | GetVariableNames () |
Private Attributes | |
Internal::AnalysisType | fAnalysisType |
unsigned int | fNumClasses |
std::unique_ptr< Reader > | fReader |
std::vector< std::string > | fSpectatorExpressions |
std::vector< std::string > | fSpectators |
std::vector< float > | fSpectatorValues |
std::vector< std::string > | fVariableExpressions |
std::vector< std::string > | fVariables |
std::vector< float > | fVariableValues |
const char * | name = "RReader" |
#include <TMVA/RReader.hxx>
|
inline |
Create TMVA model from XML file.
Definition at line 151 of file RReader.hxx.
|
inline |
Compute model prediction on vector.
Definition at line 178 of file RReader.hxx.
Compute model prediction on input RTensor.
Definition at line 216 of file RReader.hxx.
|
inline |
Definition at line 266 of file RReader.hxx.
|
inline |
Definition at line 265 of file RReader.hxx.
|
private |
Definition at line 147 of file RReader.hxx.
|
private |
Definition at line 145 of file RReader.hxx.
|
private |
Definition at line 138 of file RReader.hxx.
|
private |
Definition at line 144 of file RReader.hxx.
|
private |
Definition at line 143 of file RReader.hxx.
|
private |
Definition at line 142 of file RReader.hxx.
|
private |
Definition at line 141 of file RReader.hxx.
|
private |
Definition at line 140 of file RReader.hxx.
|
private |
Definition at line 139 of file RReader.hxx.
|
private |
Definition at line 146 of file RReader.hxx.