Logo ROOT   6.21/01
Reference Guide
TMVA::Experimental::RReader Class Reference

TMVA::Reader legacy interface.

Definition at line 114 of file RReader.hxx.

Public Member Functions

 RReader (const std::string &path)
 Create TMVA model from XML file. More...
 
std::vector< float > Compute (const std::vector< float > &x)
 Compute model prediction on vector. More...
 
RTensor< float > Compute (RTensor< float > &x)
 Compute model prediction on input RTensor. More...
 
std::vector< std::string > GetVariableNames ()
 

Private Attributes

Internal::AnalysisType fAnalysisType
 
std::vector< std::string > fExpressions
 
unsigned int fNumClasses
 
std::unique_ptr< ReaderfReader
 
std::vector< float > fValues
 
std::vector< std::string > fVariables
 
const char * name = "RReader"
 

#include <TMVA/RReader.hxx>

Constructor & Destructor Documentation

◆ RReader()

TMVA::Experimental::RReader::RReader ( const std::string &  path)
inline

Create TMVA model from XML file.

Definition at line 126 of file RReader.hxx.

Member Function Documentation

◆ Compute() [1/2]

std::vector<float> TMVA::Experimental::RReader::Compute ( const std::vector< float > &  x)
inline

Compute model prediction on vector.

Definition at line 146 of file RReader.hxx.

◆ Compute() [2/2]

RTensor<float> TMVA::Experimental::RReader::Compute ( RTensor< float > &  x)
inline

Compute model prediction on input RTensor.

Definition at line 180 of file RReader.hxx.

◆ GetVariableNames()

std::vector<std::string> TMVA::Experimental::RReader::GetVariableNames ( )
inline

Definition at line 225 of file RReader.hxx.

Member Data Documentation

◆ fAnalysisType

Internal::AnalysisType TMVA::Experimental::RReader::fAnalysisType
private

Definition at line 122 of file RReader.hxx.

◆ fExpressions

std::vector<std::string> TMVA::Experimental::RReader::fExpressions
private

Definition at line 119 of file RReader.hxx.

◆ fNumClasses

unsigned int TMVA::Experimental::RReader::fNumClasses
private

Definition at line 120 of file RReader.hxx.

◆ fReader

std::unique_ptr<Reader> TMVA::Experimental::RReader::fReader
private

Definition at line 116 of file RReader.hxx.

◆ fValues

std::vector<float> TMVA::Experimental::RReader::fValues
private

Definition at line 117 of file RReader.hxx.

◆ fVariables

std::vector<std::string> TMVA::Experimental::RReader::fVariables
private

Definition at line 118 of file RReader.hxx.

◆ name

const char* TMVA::Experimental::RReader::name = "RReader"
private

Definition at line 121 of file RReader.hxx.

Libraries for TMVA::Experimental::RReader:
[legend]

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