|
Feat C++ API
A feature engineering automation tool
|
#include <n_variable.h>


Public Member Functions | |
| NodeVariable (const size_t &l, char ntype='f', std::string n="") | |
| NodeVariable () | |
| void | evaluate (const Data &data, State &state) |
| Evaluates the node and updates the state states. More... | |
| void | eval_eqn (State &state) |
| Evaluates the node symbolically. More... | |
Public Member Functions inherited from FT::Pop::Op::Node | |
| Node () | |
| virtual | ~Node () |
| unsigned int | total_arity () |
| ArrayXf | limited (ArrayXf x) |
| limits node output to be between MIN_FLT and MAX_FLT More... | |
| void | eval_complexity (map< char, vector< unsigned int >> &cstate) |
| evaluates complexity of this node in the context of its child nodes. More... | |
| void | eval_complexity_db (map< char, vector< string >> &cstate) |
| evaluates complexity of this node in the context of its child nodes. More... | |
| virtual bool | isNodeDx () |
| check of node type More... | |
| virtual bool | isNodeTrain () |
| std::unique_ptr< Node > | clone () const |
| makes a unique copy of this node More... | |
| std::unique_ptr< Node > | rnd_clone () const |
| makes a randomized unique copy ofnode More... | |
Public Attributes | |
| size_t | loc |
| column location in X, for x types More... | |
Public Attributes inherited from FT::Pop::Op::Node | |
| string | name |
| node type More... | |
| string | variable_name |
| variable name, if any More... | |
| char | otype |
| output type More... | |
| std::map< char, unsigned int > | arity |
| arity of the operator More... | |
| int | complexity |
| complexity of node More... | |
| int | visits = 0 |
Protected Member Functions | |
| NodeVariable * | clone_impl () const override |
| NodeVariable * | rnd_clone_impl () const override |
Definition at line 15 of file n_variable.h.
| FT::Pop::Op::NodeVariable< T >::NodeVariable | ( | const size_t & | l, |
| char | ntype = 'f', |
||
| std::string | n = "" |
||
| ) |
Definition at line 22 of file n_variable.cc.
| FT::Pop::Op::NodeVariable< T >::NodeVariable |
Definition at line 14 of file n_variable.cc.
|
overrideprotectedvirtual |
Implements FT::Pop::Op::Node.
Definition at line 72 of file n_variable.cc.
|
virtual |
Evaluates the node symbolically.
Implements FT::Pop::Op::Node.
Definition at line 66 of file n_variable.cc.
|
virtual |
Evaluates the node and updates the state states.
Evaluates the node and updates the state states.
Implements FT::Pop::Op::Node.
Definition at line 37 of file n_variable.cc.
|
overrideprotectedvirtual |
Implements FT::Pop::Op::Node.
Definition at line 76 of file n_variable.cc.
| size_t FT::Pop::Op::NodeVariable< T >::loc |
column location in X, for x types
Definition at line 18 of file n_variable.h.