Feat C++ API
A feature engineering automation tool
n_median.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_MEDIAN
6 #define NODE_MEDIAN
7 
8 #include "../node.h"
9 
10 namespace FT{
11 
12  namespace Pop{
13  namespace Op{
14  class NodeMedian : public Node
15  {
16  public:
17 
18  NodeMedian();
19 
21  void evaluate(const Data& data, State& state);
22 
24  void eval_eqn(State& state);
25 
26  protected:
27  NodeMedian* clone_impl() const override;
28 
29  NodeMedian* rnd_clone_impl() const override;
30  };
31  }
32  }
33 }
34 
35 #endif
data holding X, y, and Z data
Definition: data.h:42
NodeMedian * clone_impl() const override
Definition: n_median.cc:61
void evaluate(const Data &data, State &state)
Evaluates the node and updates the state states.
Definition: n_median.cc:22
void eval_eqn(State &state)
Evaluates the node symbolically.
Definition: n_median.cc:56
NodeMedian * rnd_clone_impl() const override
Definition: n_median.cc:63
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