|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <CompiledModelInterface.hpp>
Public Member Functions | |
| CompiledModelInterface (int nbatch, bool is_pdvd) | |
| ~CompiledModelInterface () | |
| int | GetNumFeatures () |
| void | Predict (Entry *input, float *result) |
| bool | Classify (const float *result, float bdt_threshold) |
Protected Attributes | |
| std::unique_ptr< TreeliteModelBase > | model_ptr |
| int | num_batch |
Definition at line 17 of file CompiledModelInterface.hpp.
| triggeralgs::CompiledModelInterface::CompiledModelInterface | ( | int | nbatch, |
| bool | is_pdvd ) |
Definition at line 7 of file CompiledModelInterface.cpp.
| triggeralgs::CompiledModelInterface::~CompiledModelInterface | ( | ) |
Definition at line 15 of file CompiledModelInterface.cpp.
| bool triggeralgs::CompiledModelInterface::Classify | ( | const float * | result, |
| float | bdt_threshold ) |
Definition at line 27 of file CompiledModelInterface.cpp.
| int triggeralgs::CompiledModelInterface::GetNumFeatures | ( | ) |
Definition at line 17 of file CompiledModelInterface.cpp.
| void triggeralgs::CompiledModelInterface::Predict | ( | Entry * | input, |
| float * | result ) |
Definition at line 21 of file CompiledModelInterface.cpp.
|
protected |
Definition at line 35 of file CompiledModelInterface.hpp.
|
protected |
Definition at line 36 of file CompiledModelInterface.hpp.