Base class for dump model implementation, modeling closely after code generator.
More...
|
| TreeGenerator (FeatureMap const &_fmap, bool with_stats) |
|
virtual void | BuildTree (RegTree const &tree) |
|
std::string | Str () const |
|
|
virtual std::string | Indicator (RegTree const &, int32_t, uint32_t) const |
|
virtual std::string | Categorical (RegTree const &, int32_t, uint32_t) const =0 |
|
virtual std::string | Integer (RegTree const &, int32_t, uint32_t) const |
|
virtual std::string | Quantitive (RegTree const &, int32_t, uint32_t) const |
|
virtual std::string | NodeStat (RegTree const &, int32_t) const |
|
virtual std::string | PlainNode (RegTree const &, int32_t, uint32_t) const =0 |
|
virtual std::string | SplitNode (RegTree const &tree, int32_t nid, uint32_t depth) |
|
virtual std::string | LeafNode (RegTree const &tree, int32_t nid, uint32_t depth) const =0 |
|
virtual std::string | BuildTree (RegTree const &tree, int32_t nid, uint32_t depth)=0 |
|
|
template<typename Float > |
static std::string | ToStr (Float value) |
|
static std::string | Tabs (uint32_t n) |
|
static std::string | Match (std::string const &input, std::map< std::string, std::string > const &replacements) |
|
|
FeatureMap const & | fmap_ |
|
std::stringstream | ss_ |
|
bool const | with_stats_ |
|
Base class for dump model implementation, modeling closely after code generator.
◆ kFloatMaxPrecision
int32_t constexpr xgboost::TreeGenerator::kFloatMaxPrecision |
|
staticconstexprprotected |
Initial value:=
std::numeric_limits<bst_float>::max_digits10
The documentation for this class was generated from the following file: