treelite
|
Specification for postprocessor of prediction outputs. More...
#include <model_builder.h>
Public Member Functions | |
PostProcessorFunc (std::string const &name) | |
Constructor for PostProcessorFunc object, with no configuration parameters. More... | |
PostProcessorFunc (std::string const &name, std::map< std::string, PostProcessorConfigParam > const &config) | |
Constructor for PostProcessorFunc object. More... | |
Public Attributes | |
std::string | name {} |
std::map< std::string, PostProcessorConfigParam > | config {} |
Specification for postprocessor of prediction outputs.
|
explicit |
Constructor for PostProcessorFunc object, with no configuration parameters.
name | Name of the postprocessor |
treelite::model_builder::PostProcessorFunc::PostProcessorFunc | ( | std::string const & | name, |
std::map< std::string, PostProcessorConfigParam > const & | config | ||
) |
Constructor for PostProcessorFunc object.
name | Name of the postprocessor |
config | Optional parameters to configure the postprocessor. Pass an empty map to indicate the lack of parameters. |
std::map<std::string, PostProcessorConfigParam> treelite::model_builder::PostProcessorFunc::config {} |
std::string treelite::model_builder::PostProcessorFunc::name {} |