![]() |
Ultra 0.9.4
|
#include <evaluator.h>
Public Member Functions | |
| binary_evaluator (multi_dataset< dataframe > &) | |
| double | operator() (const P &) const |
| auto | predictor (const P &) const |
Additional Inherited Members | |
| Static Public Attributes inherited from ultra::src::evaluator< multi_dataset< dataframe > > | |
| static constexpr std::size_t | default_min_samples_per_thread |
| Protected Member Functions inherited from ultra::src::evaluator< multi_dataset< dataframe > > | |
| evaluator (D &) noexcept | |
| bool | set_parallel_evaluation (unsigned, std::size_t=0) noexcept |
| const auto & | data () const noexcept |
| std::size_t | min_samples_per_thread () const noexcept |
| unsigned | parallel_helpers () const noexcept |
Evaluator for binary classification problems.
| P | individual type |
Incorrect predictions are penalised proportionally to the model's confidence.
|
explicit |
Constructs the evaluator.
| [in] | d | training dataset |
|
nodiscard |
Computes the binary classification fitness.
| [in] | prg | program to evaluate |
|
nodiscard |
Builds a binary classification oracle.
| [in] | prg | program to transform into an oracle |