Feat C++ API
A feature engineering automation tool
selection_operator.h
Go to the documentation of this file.
1 /* FEAT
2 copyright 2017 William La Cava
3 license: GNU/GPL v3
4 */
5 
6 #ifndef SELECTION_OPERATOR_H
7 #define SELECTION_OPERATOR_H
8 
9 #include "../pop/population.h"
10 
11 namespace FT{
12 namespace Sel{
13 
19 {
20  bool survival;
21  string name;
22 
23  //SelectionOperator(){}
24 
25  virtual ~SelectionOperator();
26 
27  virtual vector<size_t> select(Population& pop,
28  const Parameters& p, const Data& d);
29 
30  virtual vector<size_t> survive(Population& pop,
31  const Parameters& p, const Data& d);
32 };
33 
34 }
35 }
36 
37 #endif
data holding X, y, and Z data
Definition: data.h:42
T pop(vector< T > *v)
Definition: auto_backprop.h:49
main Feat namespace
Definition: data.cc:13
holds the hyperparameters for Feat.
Definition: params.h:25
Defines a population of programs and functions for constructing them.
Definition: population.h:28
base class for selection operators.
virtual vector< size_t > survive(Population &pop, const Parameters &p, const Data &d)
virtual vector< size_t > select(Population &pop, const Parameters &p, const Data &d)