Feat C++ API
A feature engineering automation tool
FT::Pop::Op::NodeFloat< T > Class Template Reference

#include <n_float.h>

Inheritance diagram for FT::Pop::Op::NodeFloat< T >:
Collaboration diagram for FT::Pop::Op::NodeFloat< T >:

Public Member Functions

 NodeFloat ()
 
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...
 
 NodeFloat ()
 
 NodeFloat ()
 
- 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...
 

Public Attributes

bool isCategorical
 Determines whether to convert categorical or boolean inputs. 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

NodeFloatclone_impl () const override
 
NodeFloatrnd_clone_impl () const override
 

Detailed Description

template<class T>
class FT::Pop::Op::NodeFloat< T >

Definition at line 15 of file n_float.h.

Constructor & Destructor Documentation

◆ NodeFloat() [1/3]

template<class T >
FT::Pop::Op::NodeFloat< T >::NodeFloat ( )

◆ NodeFloat() [2/3]

Definition at line 12 of file n_float.cc.

◆ NodeFloat() [3/3]

Definition at line 21 of file n_float.cc.

Member Function Documentation

◆ clone_impl()

template<class T >
NodeFloat< T > * FT::Pop::Op::NodeFloat< T >::clone_impl
overrideprotectedvirtual

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

Definition at line 55 of file n_float.cc.

◆ eval_eqn()

template<class T >
void FT::Pop::Op::NodeFloat< T >::eval_eqn ( State state)
virtual

Evaluates the node symbolically.

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

Definition at line 49 of file n_float.cc.

◆ evaluate()

template<class T >
void FT::Pop::Op::NodeFloat< T >::evaluate ( const Data data,
State state 
)
virtual

Evaluates the node and updates the state states.

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

Definition at line 32 of file n_float.cc.

◆ rnd_clone_impl()

template<class T >
NodeFloat< T > * FT::Pop::Op::NodeFloat< T >::rnd_clone_impl
overrideprotectedvirtual

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

Definition at line 58 of file n_float.cc.

Member Data Documentation

◆ isCategorical

template<class T >
bool FT::Pop::Op::NodeFloat< T >::isCategorical

Determines whether to convert categorical or boolean inputs.

Definition at line 28 of file n_float.h.


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