Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
Brush::Operator< NodeType::Constant, S, Fit > Struct Template Reference

#include <operator.h>

Public Types

using RetType = typename S::RetType
 
using W = typename S::WeightType
 

Public Member Functions

template<typename T = RetType, typename Scalar = T::Scalar, int N = T::NumDimensions>
RetType eval (const Dataset &d, TreeNode &tn, const W **weights=nullptr) const
 

Detailed Description

template<typename S, bool Fit>
struct Brush::Operator< NodeType::Constant, S, Fit >

Definition at line 307 of file operator.h.

Member Typedef Documentation

◆ RetType

template<typename S , bool Fit>
using Brush::Operator< NodeType::Constant, S, Fit >::RetType = typename S::RetType

Definition at line 309 of file operator.h.

◆ W

template<typename S , bool Fit>
using Brush::Operator< NodeType::Constant, S, Fit >::W = typename S::WeightType

Definition at line 310 of file operator.h.

Member Function Documentation

◆ eval()

template<typename S , bool Fit>
template<typename T = RetType, typename Scalar = T::Scalar, int N = T::NumDimensions>
RetType Brush::Operator< NodeType::Constant, S, Fit >::eval ( const Dataset & d,
TreeNode & tn,
const W ** weights = nullptr ) const
inline

Definition at line 313 of file operator.h.

Here is the call graph for this function:

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