|
| TextGenerator (FeatureMap const &fmap, bool with_stats) |
|
std::string | LeafNode (RegTree const &tree, int32_t nid, uint32_t depth) const override |
|
std::string | Indicator (RegTree const &tree, int32_t nid, uint32_t) const override |
|
std::string | SplitNodeImpl (RegTree const &tree, int32_t nid, std::string const &template_str, std::string cond, uint32_t depth) const |
|
std::string | Integer (RegTree const &tree, int32_t nid, uint32_t depth) const override |
|
std::string | Quantitive (RegTree const &tree, int32_t nid, uint32_t depth) const override |
|
std::string | PlainNode (RegTree const &tree, int32_t nid, uint32_t depth) const override |
|
std::string | Categorical (RegTree const &tree, int32_t nid, uint32_t depth) const override |
|
std::string | NodeStat (RegTree const &tree, int32_t nid) const override |
|
std::string | BuildTree (RegTree const &tree, int32_t nid, uint32_t depth) override |
|
void | BuildTree (RegTree const &tree) override |
|
| TreeGenerator (FeatureMap const &_fmap, bool with_stats) |
|
std::string | Str () const |
|
|
static TreeGenerator * | Create (std::string const &attrs, FeatureMap const &fmap, bool with_stats) |
|
virtual std::string | SplitNode (RegTree const &tree, int32_t nid, uint32_t depth) |
|
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_ |
|
static int32_t constexpr | kFloatMaxPrecision |
|
◆ BuildTree() [1/2]
void xgboost::TextGenerator::BuildTree |
( |
RegTree const & |
tree | ) |
|
|
inlineoverridevirtual |
◆ BuildTree() [2/2]
std::string xgboost::TextGenerator::BuildTree |
( |
RegTree const & |
tree, |
|
|
int32_t |
nid, |
|
|
uint32_t |
depth |
|
) |
| |
|
inlineoverridevirtual |
◆ Categorical()
std::string xgboost::TextGenerator::Categorical |
( |
RegTree const & |
tree, |
|
|
int32_t |
nid, |
|
|
uint32_t |
depth |
|
) |
| const |
|
inlineoverridevirtual |
◆ Indicator()
std::string xgboost::TextGenerator::Indicator |
( |
RegTree const & |
tree, |
|
|
int32_t |
nid, |
|
|
uint32_t |
|
|
) |
| const |
|
inlineoverridevirtual |
◆ Integer()
std::string xgboost::TextGenerator::Integer |
( |
RegTree const & |
tree, |
|
|
int32_t |
nid, |
|
|
uint32_t |
depth |
|
) |
| const |
|
inlineoverridevirtual |
◆ LeafNode()
std::string xgboost::TextGenerator::LeafNode |
( |
RegTree const & |
tree, |
|
|
int32_t |
nid, |
|
|
uint32_t |
depth |
|
) |
| const |
|
inlineoverridevirtual |
◆ NodeStat()
std::string xgboost::TextGenerator::NodeStat |
( |
RegTree const & |
tree, |
|
|
int32_t |
nid |
|
) |
| const |
|
inlineoverridevirtual |
◆ PlainNode()
std::string xgboost::TextGenerator::PlainNode |
( |
RegTree const & |
tree, |
|
|
int32_t |
nid, |
|
|
uint32_t |
depth |
|
) |
| const |
|
inlineoverridevirtual |
◆ Quantitive()
std::string xgboost::TextGenerator::Quantitive |
( |
RegTree const & |
tree, |
|
|
int32_t |
nid, |
|
|
uint32_t |
depth |
|
) |
| const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: