1#ifndef XG_TREE_BOOSTER_H
2#define XG_TREE_BOOSTER_H
21 int depth = 0)
override;
42 int depth = 0)
override;
78 double weight_decay = 0.0,
79 double reg_lambda = 1.0,
struct arena_view arena_view_t
2d array abstraction
Definition Matrix.h:43
A node used in a TreeBooster used for gather and storing information about the decision making proces...
Definition TreeBoosterNode.h:25
TreeBooster(arena_t *a=nullptr, int md=5, int ms=3, double weight_decay=0.0, double reg_lambda=1.0, double gamma=0.0)
Overloaded default constructor.
~XGTreeBooster()
Destructor.
virtual void fit(DataMatrix &X, std::shared_ptr< CNum::Data::Shelf[]> shelves, double *g, double *h, DataPartition &partition) override
Unified fit function.
XGTreeBooster(arena_t *a=nullptr, int md=5, int ms=3, double weight_decay=0.0, double reg_lambda=1.0, double gamma=0.0)
Overloaded constructor.
Tree-based models.
Definition GBModel.h:11
std::variant< CNum::DataStructs::Matrix< int >, CNum::DataStructs::Matrix< double > > DataMatrix
Definition TreeDefs.h:23
Contains bins and the ranges of values they represent.
Definition Data.h:31
A data partition for the set of samples a tree node has to work with during the tree building process...
Definition TreeDefs.h:39