Treelite
Public Member Functions | Public Attributes | List of all members
ModelParam Struct Reference

Public Member Functions

 ModelParam (const ModelParam &)=default
 
ModelParamoperator= (const ModelParam &)=default
 
 ModelParam (ModelParam &&)=default
 
ModelParamoperator= (ModelParam &&)=default
 
template<typename Container >
std::vector< std::pair< std::string, std::string > > InitAllowUnknown (const Container &kwargs)
 
std::map< std::string, std::string > __DICT__ () const
 

Public Attributes

char pred_transform [TREELITE_MAX_PRED_TRANSFORM_LENGTH] = {0}
 name of prediction transform function More...
 
float sigmoid_alpha
 scaling parameter for sigmoid function sigmoid(x) = 1 / (1 + exp(-alpha * x)) More...
 
float ratio_c
 scaling parameter for exponential standard ratio transformation expstdratio(x) = exp2(-x / c) More...
 
float global_bias
 global bias of the model More...
 

Detailed Description

Definition at line 596 of file tree.h.


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