treelite
Public Member Functions | Public Attributes | List of all members
treelite::model_builder::PostProcessorFunc Struct Reference

Specification for postprocessor of prediction outputs. More...

#include <model_builder.h>

Collaboration diagram for treelite::model_builder::PostProcessorFunc:
Collaboration graph

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, PostProcessorConfigParamconfig {}
 

Detailed Description

Specification for postprocessor of prediction outputs.

Constructor & Destructor Documentation

◆ PostProcessorFunc() [1/2]

treelite::model_builder::PostProcessorFunc::PostProcessorFunc ( std::string const &  name)
explicit

Constructor for PostProcessorFunc object, with no configuration parameters.

Parameters
nameName of the postprocessor

◆ PostProcessorFunc() [2/2]

treelite::model_builder::PostProcessorFunc::PostProcessorFunc ( std::string const &  name,
std::map< std::string, PostProcessorConfigParam > const &  config 
)

Constructor for PostProcessorFunc object.

Parameters
nameName of the postprocessor
configOptional parameters to configure the postprocessor. Pass an empty map to indicate the lack of parameters.

Member Data Documentation

◆ config

std::map<std::string, PostProcessorConfigParam> treelite::model_builder::PostProcessorFunc::config {}

◆ name

std::string treelite::model_builder::PostProcessorFunc::name {}

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