Ultra 0.9.4
Loading...
Searching...
No Matches
oracle.h File Reference

Go to the source code of this file.

Classes

class  ultra::src::basic_oracle
class  ultra::src::basic_reg_oracle< P, S >
class  ultra::src::reg_oracle_adaptor< O >
class  ultra::src::basic_class_oracle
class  ultra::src::basic_gaussian_oracle< I, S >
class  ultra::src::basic_binary_oracle< I, S >
class  ultra::src::class_oracle_adaptor< O >
class  ultra::src::team_class_oracle< O, C >
class  ultra::src::basic_gaussian_oracle< gp::team< I >, S >
class  ultra::src::basic_binary_oracle< gp::team< I >, S >
class  ultra::src::reg_oracle< P >
class  ultra::src::gaussian_oracle< P >
class  ultra::src::binary_oracle< P >

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)

Detailed Description

Remarks
This file is part of ORACLE.
License

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/

Typedef Documentation

◆ build_func

using ultra::src::serialize::oracle::internal::build_func
Initial value:
std::unique_ptr<basic_oracle> (*)(std::istream &,
const symbol_set &)
Definition symbol_set.h:115

Enumeration Type Documentation

◆ team_composition

enum class ultra::src::team_composition
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).

Function Documentation

◆ insert()

template<class U>
bool ultra::src::serialize::oracle::insert ( const std::string & id)

Allows insertion of user defined classificators.

◆ save()

bool ultra::src::serialize::save ( std::ostream & out,
const basic_oracle & ora )

Saves an oracle on persistent storage.

Parameters
[in]outoutput stream
[in]oraoracle
Returns
true on success