![]() |
Ultra 0.9.4
|
#include "kernel/exceptions.h"#include "kernel/gp/src/predictor.h"#include "kernel/gp/src/interpreter.h"#include "kernel/gp/team.h"#include <numbers>#include "kernel/gp/src/oracle_internal.tcc"#include "kernel/gp/src/oracle.tcc"Go to the source code of this file.
Namespaces | |
| namespace | ultra |
Typedefs | |
| using | ultra::src::serialize::oracle::internal::build_func |
Enumerations | |
| enum class | ultra::src::team_composition { mv , wta , standard = wta } |
Functions | |
| template<Individual P = gp::individual> | |
| std::unique_ptr< basic_oracle > | ultra::src::serialize::oracle::load (std::istream &, const symbol_set &) |
| bool | ultra::src::serialize::save (std::ostream &out, const basic_oracle *ora) |
| bool | ultra::src::serialize::save (std::ostream &out, const basic_oracle &ora) |
| bool | ultra::src::serialize::save (std::ostream &out, const std::unique_ptr< basic_oracle > &ora) |
| template<Individual P> | |
| ultra::src::reg_oracle (const P &) -> reg_oracle< P > | |
| template<Individual P> | |
| ultra::src::gaussian_oracle (const P &, const dataframe &) -> gaussian_oracle< P > | |
| template<class P> | |
| ultra::src::binary_oracle (const P &, const dataframe &) -> binary_oracle< P > | |
| template<class U> | |
| std::unique_ptr< basic_oracle > | ultra::src::serialize::oracle::internal::build (std::istream &in, const symbol_set &ss) |
| template<class U> | |
| bool | ultra::src::serialize::oracle::insert (const std::string &id) |
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/
| using ultra::src::serialize::oracle::internal::build_func |
|
strong |
For classification problems there are two major possibilities to combine the outputs of multiple predictors: either the raw output values or the classification decisions can be aggregated (in the latter case the team members act as full pre-classificators themselves). We decided for the latter and combined classification decisions (thanks to the confidence parameter we don't have a reduction in the information content that each individual can contribute to the common team decision).
| bool ultra::src::serialize::oracle::insert | ( | const std::string & | id | ) |
Allows insertion of user defined classificators.
| bool ultra::src::serialize::save | ( | std::ostream & | out, |
| const basic_oracle & | ora ) |
Saves an oracle on persistent storage.
| [in] | out | output stream |
| [in] | ora | oracle |