Feat C++ API
A feature engineering automation tool
fair_lexicase.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 FAIRLEXICASE_H
7 #define FAIRLEXICASE_H
8 
9 #include "selection_operator.h"
10 
11 
12 namespace FT{
13 
14  namespace Sel{
16 
21  {
22  FairLexicase(bool surv);
23 
24  ~FairLexicase();
25 
27  vector<size_t> select(Population& pop,
28  const Parameters& params, const Data& d);
29 
31  vector<size_t> survive(Population& pop,
32  const Parameters& params, const Data& d);
33 
34  };
35  }
36 
37 }
38 
39 #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
FairLexicase selection operator.
Definition: fair_lexicase.h:21
vector< size_t > survive(Population &pop, const Parameters &params, const Data &d)
lexicase survival
vector< size_t > select(Population &pop, const Parameters &params, const Data &d)
function returns a set of selected indices
base class for selection operators.