![]() |
Belle II Software development
|
Class to interact with the MVA package. More...
#include <MVAExpert.h>
Classes | |
| class | Impl |
| Implementation of the class to interact with the MVA package. More... | |
Public Member Functions | |
| MVAExpert (const std::string &identifier, std::vector< Named< Float_t * > > namedVariables) | |
| Construct the Expert with the specified weight folder and the name of the training that was used in the teacher run. | |
| ~MVAExpert () | |
| Destructor must be defined in cpp because of PImpl pointer. | |
| void | initialize () |
| Initialise the mva method. | |
| void | beginRun () |
| Update the mva method to the new run. | |
| double | predict () |
| Evaluate the MVA method and return the MVAOutput. | |
| std::vector< float > | predict (float *, int, int nRows) |
| Evaluate the MVA method and return the MVAOutput for multiple inputs at the same time. | |
| std::vector< std::string > | getVariableNames () |
| Get selected variable names. | |
Private Attributes | |
| std::unique_ptr< Impl > | m_impl |
| Pointer to implementation hiding the details. | |
Class to interact with the MVA package.
Definition at line 26 of file MVAExpert.h.
Construct the Expert with the specified weight folder and the name of the training that was used in the teacher run.
| identifier | A database identifier or local file name. |
| namedVariables | The names and pointers to the variables to be fed to the mva method |
| std::vector< std::string > getVariableNames | ( | ) |
Get selected variable names.
Definition at line 228 of file MVAExpert.cc.
|
private |
Pointer to implementation hiding the details.
Definition at line 59 of file MVAExpert.h.