Feat C++ API
A feature engineering automation tool
|
#include <n_log.h>
Public Member Functions | |
NodeLog (vector< float > W0=vector< float >()) | |
void | evaluate (const Data &data, State &state) |
Safe log: pushes log(abs(x)) or MIN_FLT if x is near zero. More... | |
void | eval_eqn (State &state) |
Evaluates the node symbolically. More... | |
ArrayXf | getDerivative (Trace &state, int loc) |
Public Member Functions inherited from FT::Pop::Op::NodeDx | |
virtual | ~NodeDx () |
void | derivative (vector< ArrayXf > &gradients, Trace &state, int loc) |
void | update (vector< ArrayXf > &gradients, Trace &state, float n, float a) |
void | print_weight () |
bool | isNodeDx () |
check of node type 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 | 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... | |
Protected Member Functions | |
NodeLog * | clone_impl () const override |
NodeLog * | rnd_clone_impl () const override |
Additional Inherited Members | |
Public Attributes inherited from FT::Pop::Op::NodeDx | |
std::vector< float > | W |
std::vector< float > | V |
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 |
FT::Pop::Op::NodeLog::NodeLog | ( | vector< float > | W0 = vector<float>() | ) |
|
overrideprotectedvirtual |
Implements FT::Pop::Op::Node.
|
virtual |
Evaluates the node symbolically.
Implements FT::Pop::Op::Node.
Safe log: pushes log(abs(x)) or MIN_FLT if x is near zero.
Implements FT::Pop::Op::Node.
|
virtual |
Implements FT::Pop::Op::NodeDx.
|
overrideprotectedvirtual |
Implements FT::Pop::Op::Node.