CNum 0.2.1
CPU-optimized ML library for C++
Loading...
Searching...
No Matches
GBModel.h File Reference
#include "CNum/Utils/Utils.h"
#include "CNum/Data/Data.h"
#include "CNum/Model/Model.h"
#include "CNum/Model/Tree/TreeDefs.h"
#include "json.hpp"
#include <variant>
#include "GBModel.tpp"

Go to the source code of this file.

Classes

class  CNum::Model::Tree::GBModel< TreeType >
 A gradient-boosting model for any child of the TreeBooster class. More...

Namespaces

namespace  CNum
 The umbrella namespace from which you can access all modules of CNum.
namespace  CNum::Model
 The namespace containing the ML models in CNum.
namespace  CNum::Model::Tree
 Tree-based models.

Typedefs

using CNum::Model::Tree::json = ::nlohmann::json
using CNum::Model::Tree::SubsampleFunction = ::std::function< void(size_t *, size_t, size_t, size_t, ::CNum::DataStructs::Matrix<double>) >

Enumerations

enum  CNum::Model::Tree::SplitAlg { CNum::Model::Tree::GREEDY , CNum::Model::Tree::HIST }
 The algorithm used for tree finding splits in tree building. More...

Variables

SubsampleFunction CNum::Model::Tree::default_subsample