Vita
|
Stores a single element (row) of the dataset. More...
#include <dataframe.h>
Public Member Functions | |
void | clear () |
Public Attributes | |
unsigned | age = 0 |
std::uintmax_t | difficulty = 0 |
std::vector< value_t > | input = {} |
The thing about which we want to make a prediction (aka instance). More... | |
value_t | output = {} |
The answer for the prediction task either the answer produced by the machine learning system, or the right answer supplied in the training data. More... | |
Stores a single element (row) of the dataset.
The struct
consists of an input vector (input
) and an answer value (output
). Depending on the kind of problem, output
stores:
difficulty
and age
are parameters used by the Dynamic Subset Selection algorithm (see "Dynamic Training Subset Selection for
Supervised Learning in Genetic Programming" - Chris Gathercole, Peter Ross).
Definition at line 193 of file dataframe.h.
|
inline |
Definition at line 206 of file dataframe.h.
unsigned vita::dataframe::example::age = 0 |
Definition at line 204 of file dataframe.h.
std::uintmax_t vita::dataframe::example::difficulty = 0 |
Definition at line 203 of file dataframe.h.
std::vector<value_t> vita::dataframe::example::input = {} |
The thing about which we want to make a prediction (aka instance).
The elements of the vector are features.
Definition at line 197 of file dataframe.h.
value_t vita::dataframe::example::output = {} |
The answer for the prediction task either the answer produced by the machine learning system, or the right answer supplied in the training data.
Definition at line 201 of file dataframe.h.