Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
operator.h File Reference
#include "../init.h"
#include "tree_node.h"
#include "../util/utils.h"
#include "split.h"
Include dependency graph for operator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Brush::Operator< NT, S, Fit, E >
 Core computation of a node's function to data. More...
 
struct  Brush::Operator< NodeType::Terminal, S, Fit >
 Terminal Overload. More...
 
struct  Brush::Operator< NodeType::Constant, S, Fit >
 
struct  Brush::Operator< NodeType::MeanLabel, S, Fit >
 

Namespaces

namespace  Brush
 < nsga2 selection operator for getting the front
 
namespace  Brush::util
 

Functions

template<typename T , typename Scalar , typename W >
requires (!is_one_of_v<Scalar,bool,bJet>)
Scalar Brush::util::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 Brush::util::get_weight (const TreeNode &tn, const W **weights=nullptr)
 
template<typename R , NodeType NT, typename S , bool Fit, typename W >
R Brush::DispatchOp (const Data::Dataset &d, TreeNode &tn, const W **weights)
 
template<typename R , NodeType NT, typename S , bool Fit>
R Brush::DispatchOp (const Data::Dataset &d, TreeNode &tn)