13#if !defined(VITA_SRC_EVALUATOR_H)
14#define VITA_SRC_EVALUATOR_H
17#include "kernel/gp/src/detail/evaluator.h"
32template<
class T,
class DAT = dataframe>
36 static_assert(detail::is_iterable_v<DAT>);
58template<
class T,
class ERRF,
class DAT = dataframe>
62 static_assert(std::is_class_v<ERRF>);
63 static_assert(detail::is_iterable_v<DAT>);
64 static_assert(detail::is_error_functor_v<ERRF, DAT>);
70 std::unique_ptr<basic_lambda_f> lambdify(
const T &)
const override;
73 fitness_t sum_of_errors_impl(
const T &,
unsigned);
104template<
class T,
class ERRF = mae_error_functor<T>>
146template<
class T,
class ERRF = rmae_error_functor<T>>
194template<
class T,
class ERRF = mse_error_functor<T>>
227template<
class T,
class ERRF = count_error_functor<T>>
263 std::unique_ptr<basic_lambda_f> lambdify(
const T &)
const override;
288 std::unique_ptr<basic_lambda_f> lambdify(
const T &)
const override;
301 std::unique_ptr<basic_lambda_f> lambdify(
const T &)
const override;
304#include "kernel/gp/src/evaluator.tcc"
Single class evaluator for classification problems.
fitness_t operator()(const T &) override
This class is used to factorized out some code of the classification evaluators.
Number of matches functor.
Evaluator based on the number of matches.
A 2-dimensional labeled data structure with columns of potentially different types.
Slotted Dynamic Class Boundary Determination.
fitness_t operator()(const T &) override
Calculates the fitness of an individual.
Gaussian distribution for multiclass object classification.
fitness_t operator()(const T &) override
Evaluator based on the mean absolute error.
Evaluator based on the mean squared error.
Mean of Relative Differences.
Evaluator based on the mean of relative differences.
An evaluator specialized for symbolic regression / classification problems.
An evaluator to minimize the sum of some sort of error.
fitness_t operator()(const T &) override
The main namespace for the project.
Stores a single element (row) of the dataset.