Feat C++ API
A feature engineering automation tool
offspring.h
Go to the documentation of this file.
1 /* FEAT
2 copyright 2017 William La Cava
3 license: GNU/GPL v3
4 */
5 #ifndef OFFSPRING_H
6 #define OFFSPRING_H
7 
8 #include "selection_operator.h"
9 
10 namespace FT{
11 
12  namespace Sel{
14 
18  {
21  Offspring(bool surv);
22 
23  ~Offspring();
24 
25  vector<size_t> survive(Population& pop,
26  const Parameters& params, const Data& d);
27 
28  bool elitism; //< whether or not to keep the best individual.
29 
30  };
31  }
32 }
33 #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
Offspring(bool surv)
Definition: offspring.cc:12
vector< size_t > survive(Population &pop, const Parameters &params, const Data &d)
Definition: offspring.cc:16
base class for selection operators.