Feat C++ API
A feature engineering automation tool
n_float.h
Go to the documentation of this file.
1 /* FEAT
2 copyright 2017 William La Cava
3 license: GNU/GPL v3
4 */
5 #ifndef NODE_FLOAT
6 #define NODE_FLOAT
7 
8 #include "../node.h"
9 
10 namespace FT{
11 
12  namespace Pop{
13  namespace Op{
14  template <class T>
15  class NodeFloat : public Node
16  {
17  public:
18 
20 
22  void evaluate(const Data& data, State& state);
23 
25  void eval_eqn(State& state);
26 
29 
30  protected:
31  NodeFloat* clone_impl() const override;
32 
33  NodeFloat* rnd_clone_impl() const override;
34  };
35  }
36  }
37 
38 }
39 
40 #endif
data holding X, y, and Z data
Definition: data.h:42
void evaluate(const Data &data, State &state)
Evaluates the node and updates the state states.
Definition: n_float.cc:32
NodeFloat * clone_impl() const override
Definition: n_float.cc:55
bool isCategorical
Determines whether to convert categorical or boolean inputs.
Definition: n_float.h:28
void eval_eqn(State &state)
Evaluates the node symbolically.
Definition: n_float.cc:49
NodeFloat * rnd_clone_impl() const override
Definition: n_float.cc:58
Represents nodes in a program.
Definition: node.h:54
main Feat namespace
Definition: data.cc:13
contains various types of State actually used by feat
Definition: state.h:102