Brush C++ API
A flexible interpretable machine learning framework
|
class holding the data for a node in a tree. More...
#include <node.h>
Public Types | |
using | HashTuple |
tuple type for hashing | |
Public Attributes | |
string | name |
full name of the node, with types | |
bool | center_op |
whether to center the operator in pretty printing | |
float | prob_change |
chance of node being selected for variation | |
bool | fixed |
whether node is modifiable | |
NodeType | node_type |
the node type | |
std::size_t | sig_hash |
a hash of the signature | |
std::size_t | sig_dual_hash |
a hash of the dual of the signature (for NLS) | |
DataType | ret_type |
return data type | |
std::vector< DataType > | arg_types |
argument data types | |
bool | is_weighted |
whether this node is weighted | |
float | W |
the weights of the node. also used for splitting thresholds. | |
Private Attributes | |
string | feature |
feature name for terminals or splitting nodes | |
tuple type for hashing
|
default |
|
noexcept |
|
inline |
|
inline |
|
inline |
std::vector<DataType> Brush::Node::arg_types |
bool Brush::Node::center_op |
|
private |
float Brush::Node::prob_change |
std::size_t Brush::Node::sig_dual_hash |
float Brush::Node::W |