Vita
dss.h
Go to the documentation of this file.
1
13#if !defined(VITA_DSS_H)
14#define VITA_DSS_H
15
16#include "kernel/evaluator.h"
19
20namespace vita
21{
22
38{
39public:
41
42 void init(unsigned) override;
43 bool shake(unsigned) override;
44 void close(unsigned) override;
45
46private:
47 std::pair<std::uintmax_t, std::uintmax_t> average_age_difficulty(
48 dataframe &) const;
49
50 void clear_evaluators();
51 void move_to_validation();
52 void reset_age_difficulty(dataframe &);
53 void shake_impl();
54
55 dataframe &training_;
56 dataframe &validation_;
57 cached_evaluator &eva_t_;
58 cached_evaluator &eva_v_;
59 const environment &env_;
60};
61
62} // namespace vita
63
64#endif // include guard
A 2-dimensional labeled data structure with columns of potentially different types.
Definition: dataframe.h:48
Dynamic training Subset Selection.
Definition: dss.h:38
void close(unsigned) override
Moves all the example in the validation set.
Definition: dss.cc:207
bool shake(unsigned) override
Changes the training environment.
Definition: dss.cc:174
void init(unsigned) override
Available examples are randomly partitioned into two independent sets according to a given percentage...
Definition: dss.cc:104
dss(src_problem &, cached_evaluator &, cached_evaluator &)
Sets up a DSS validator.
Definition: dss.cc:41
Context object aggregating multiple related parameters into one structure.
Definition: environment.h:57
Provides a GP-specific interface to the generic problem class.
Interface for specific training / cross validation techniques (e.g.
The main namespace for the project.