Brush C++ API
A flexible interpretable machine learning framework
|
Functions | |
template<typename T , typename Scalar , typename W > requires (!is_one_of_v<Scalar,bool,bJet>) | |
Scalar | get_weight (const TreeNode &tn, const W **weights=nullptr) |
get weight | |
template<typename T , typename Scalar , typename W > requires (is_one_of_v<Scalar,bool,bJet>) | |
Scalar | get_weight (const TreeNode &tn, const W **weights=nullptr) |
get weight
T | return type |
Scalar | scalar type of return type |
tn | tree node |
weights | option pointer to a weight array, used in place of node weight |
Definition at line 20 of file operator.h.