Medial Code Documentation
Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes
xgboost::TestGrowPolicy Class Reference
Inheritance diagram for xgboost::TestGrowPolicy:

Protected Member Functions

void SetUp () override
 
std::unique_ptr< LearnerTrainOneIter (Context const *ctx, std::string tree_method, std::string policy, int32_t max_leaves, int32_t max_depth)
 
void TestCombination (Context const *ctx, std::string tree_method)
 
void TestTreeGrowPolicy (Context const *ctx, std::string tree_method, std::string policy)
 

Protected Attributes

std::shared_ptr< DMatrixXy_
 
size_t n_samples_ = 4096
 
size_t n_features_ = 13
 
float sparsity_ = 0.5
 

Member Function Documentation

◆ TestTreeGrowPolicy()

void xgboost::TestGrowPolicy::TestTreeGrowPolicy ( Context const *  ctx,
std::string  tree_method,
std::string  policy 
)
inlineprotected

max_leaves

max_depth


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