12 #pragma GCC diagnostic push
13 #pragma GCC diagnostic ignored "-Wdeprecated"
14 #include <shogun/labels/Labels.h>
15 #pragma GCC diagnostic pop
19 #include "../pop/individual.h"
20 #include "../dat/data.h"
21 #include "../params.h"
24 using std::shared_ptr;
26 using Eigen::VectorXf;
27 using shogun::CLabels;
38 typedef VectorXf (*
callback)(
const VectorXf&, shared_ptr<CLabels>&,
const vector<float>&);
data holding X, y, and Z data
std::map< string, callback > score_hash
shared_ptr< CLabels > run(Individual &ind, Data d, const Parameters ¶ms, bool &updated)
adapt weights
HillClimb(string scorer, int iters=1, float step=0.1)
VectorXf(* callback)(const VectorXf &, shared_ptr< CLabels > &, const vector< float > &)
individual programs in the population
holds the hyperparameters for Feat.