Feat C++ API
A feature engineering automation tool
FT::Pop::Op::NodeSlope Class Reference

#include <n_slope.h>

Inheritance diagram for FT::Pop::Op::NodeSlope:
Collaboration diagram for FT::Pop::Op::NodeSlope:

Public Member Functions

 NodeSlope ()
 
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...
 
float slope (const ArrayXf &x, const ArrayXf &y)
 
- 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< Nodeclone () const
 makes a unique copy of this node More...
 
std::unique_ptr< Nodernd_clone () const
 makes a randomized unique copy ofnode More...
 

Protected Member Functions

NodeSlopeclone_impl () const override
 
NodeSlopernd_clone_impl () const override
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 14 of file n_slope.h.

Constructor & Destructor Documentation

◆ NodeSlope()

FT::Pop::Op::NodeSlope::NodeSlope ( )

Definition at line 13 of file n_slope.cc.

Member Function Documentation

◆ clone_impl()

NodeSlope * FT::Pop::Op::NodeSlope::clone_impl ( ) const
overrideprotectedvirtual

Implements FT::Pop::Op::Node.

Definition at line 74 of file n_slope.cc.

◆ eval_eqn()

void FT::Pop::Op::NodeSlope::eval_eqn ( State state)
virtual

Evaluates the node symbolically.

Implements FT::Pop::Op::Node.

Definition at line 60 of file n_slope.cc.

◆ evaluate()

void FT::Pop::Op::NodeSlope::evaluate ( const Data data,
State state 
)
virtual

Evaluates the node and updates the state states.

Implements FT::Pop::Op::Node.

Definition at line 23 of file n_slope.cc.

◆ rnd_clone_impl()

NodeSlope * FT::Pop::Op::NodeSlope::rnd_clone_impl ( ) const
overrideprotectedvirtual

Implements FT::Pop::Op::Node.

Definition at line 76 of file n_slope.cc.

◆ slope()

float FT::Pop::Op::NodeSlope::slope ( const ArrayXf &  x,
const ArrayXf &  y 
)

Definition at line 65 of file n_slope.cc.


The documentation for this class was generated from the following files: