13#if !defined(VITA_SRC_PROBLEM_H)
14#define VITA_SRC_PROBLEM_H
35enum class dataset_t {training = 0, validation, test};
56 src_problem(
const std::filesystem::path &,
const std::filesystem::path &,
80 bool compatible(
const cvect &,
const std::vector<std::string> &,
82 std::size_t setup_symbols_impl();
83 std::size_t setup_symbols_impl(
const std::filesystem::path &);
Information about the set of categories used in a specific problem.
A 2-dimensional labeled data structure with columns of potentially different types.
Aggregates the problem-related data needed by an evolutionary program.
Provides a GP-specific interface to the generic problem class.
unsigned categories() const
std::size_t setup_symbols(typing=typing::weak)
Sets up the symbol set.
const dataframe & data(dataset_t=dataset_t::training) const
bool classification() const
Just a shorthand for checking number of classes.
void setup_terminals(typing)
Inserts variables and states for nominal attributes into the symbol_set.
unsigned variables() const
bool is_valid() const override
src_problem()
New empty instance of src_problem.
An abstract factory for symbols.
The main namespace for the project.
dataset_t
Data/simulations are categorised in three sets:
typing
Category/type management of the dataframe columns.