Feat C++ API
A feature engineering automation tool
lexicase.h
Go to the documentation of this file.
1 /* FEWTWO
2 copyright 2017 William La Cava
3 license: GNU/GPL v3
4 */
5 
6 #ifndef LEXICASE_H
7 #define LEXICASE_H
8 
9 #include "selection_operator.h"
10 
11 
12 namespace FT{
13 namespace Sel{
14 
16 
21  {
22  Lexicase(bool surv);
23 
24  ~Lexicase();
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
Lexicase selection operator.
Definition: lexicase.h:21
vector< size_t > select(Population &pop, const Parameters &params, const Data &d)
function returns a set of selected indices from pop
Definition: lexicase.cc:15
Lexicase(bool surv)
Definition: lexicase.cc:11
vector< size_t > survive(Population &pop, const Parameters &params, const Data &d)
lexicase survival
Definition: lexicase.cc:143
base class for selection operators.