C++ API#
The API below mostly covers C++ code that can be called from Python.
See also
For the full C++ API, browse the Doxygen docs.
- Dataset
Dataset
Dataset::operator()()
Dataset::init()
Dataset::make_features()
Dataset::copy_and_make_features()
Dataset::Dataset()
Dataset::Dataset()
Dataset::Dataset()
Dataset::Dataset()
Dataset::print()
Dataset::get_X()
Dataset::get_training_data()
Dataset::get_validation_data()
Dataset::get_n_samples()
Dataset::get_n_features()
Dataset::get_batch()
Dataset::get_batch_size()
Dataset::set_batch_size()
Dataset::split()
Dataset::operator[]()
Dataset::unique_data_types
Dataset::feature_types
Dataset::features_of_type
Dataset::features
Dataset::y
Dataset::classification
Dataset::Xref
Dataset::validation_size
Dataset::use_validation
Dataset::batch_size
Dataset::use_batch
- TimeSeries
TimeSeries
TimeSeries::Scalar
TimeSeries::EntryType
TimeSeries::ValType
TimeSeries::TimeType
TimeSeries::TimeSeries()
TimeSeries::TimeSeries()
TimeSeries::operator()()
TimeSeries::size()
TimeSeries::rows()
TimeSeries::cols()
TimeSeries::begin()
TimeSeries::end()
TimeSeries::cbegin()
TimeSeries::cend()
TimeSeries::tbegin()
TimeSeries::tend()
TimeSeries::ctbegin()
TimeSeries::ctend()
TimeSeries::transform()
TimeSeries::reduce()
TimeSeries::cast()
TimeSeries::abs()
TimeSeries::pow()
TimeSeries::log()
TimeSeries::logabs()
TimeSeries::log1p()
TimeSeries::ceil()
TimeSeries::floor()
TimeSeries::exp()
TimeSeries::sin()
TimeSeries::cos()
TimeSeries::tan()
TimeSeries::asin()
TimeSeries::acos()
TimeSeries::atan()
TimeSeries::sinh()
TimeSeries::cosh()
TimeSeries::tanh()
TimeSeries::sqrt()
TimeSeries::sqrtabs()
TimeSeries::square()
TimeSeries::median()
TimeSeries::mean()
TimeSeries::std()
TimeSeries::max()
TimeSeries::min()
TimeSeries::sum()
TimeSeries::count()
TimeSeries::prod()
TimeSeries::operator*()
TimeSeries::before()
TimeSeries::after()
TimeSeries::during()
TimeSeries::print()
TimeSeries::time
TimeSeries::value
TimeSeries::NumDimensions
- SearchSpace
SearchSpace
SearchSpace::ArgsHash
SearchSpace::Map
SearchSpace::make_program()
SearchSpace::make_regressor()
SearchSpace::make_classifier()
SearchSpace::make_multiclass_classifier()
SearchSpace::make_representer()
SearchSpace::SearchSpace()
SearchSpace::SearchSpace()
SearchSpace::init()
SearchSpace::check()
SearchSpace::check()
SearchSpace::check()
SearchSpace::has_solution_space()
SearchSpace::get()
SearchSpace::get()
SearchSpace::get()
SearchSpace::get_weights()
SearchSpace::get_weights()
SearchSpace::get_weights()
SearchSpace::sample_terminal()
SearchSpace::sample_terminal()
SearchSpace::sample_op()
SearchSpace::sample_op()
SearchSpace::sample_op_with_arg()
SearchSpace::get_node_like()
SearchSpace::sample_subtree()
SearchSpace::print()
SearchSpace::make_program()
SearchSpace::node_map
SearchSpace::node_map_weights
SearchSpace::terminal_map
SearchSpace::terminal_weights
SearchSpace::terminal_types
- Program
Program
Program::RetType
Program::TreeType
Program::Program()
Program::Program()
Program::copy()
Program::set_search_space()
Program::complexity()
Program::size()
Program::size_at()
Program::depth()
Program::depth_at()
Program::depth_to_reach()
Program::fit()
Program::predict_with_weights()
Program::predict_with_weights()
Program::predict()
Program::predict()
Program::predict()
Program::predict_proba()
Program::fit()
Program::predict()
Program::predict_proba()
Program::update_weights()
Program::get_n_weights()
Program::get_weights()
Program::set_weights()
Program::get_model()
Program::get_dot_model()
Program::linearize()
Program::is_fitted_
Program::Tree
Program::SSref
Program::program_type
- Node
Node
Node::HashTuple
Node::Node()
Node::Node()
Node::set_signature()
Node::init()
Node::get_name()
Node::get_model()
Node::get_ret_type()
Node::args_type()
Node::get_arg_types()
Node::get_arg_count()
Node::get_node_hash()
Node::operator==()
Node::operator!=()
Node::operator<()
Node::operator<=()
Node::operator>()
Node::operator>=()
Node::get_prob_change()
Node::set_prob_change()
Node::get_prob_keep()
Node::set_feature()
Node::get_feature()
Node::get_is_weighted()
Node::set_is_weighted()
Node::name
Node::center_op
Node::prob_change
Node::fixed
Node::node_type
Node::sig_hash
Node::sig_dual_hash
Node::ret_type
Node::arg_types
Node::is_weighted
Node::W
- NodeTypes
NodeType
NodeType::Abs
NodeType::Acos
NodeType::Asin
NodeType::Atan
NodeType::Cos
NodeType::Cosh
NodeType::Sin
NodeType::Sinh
NodeType::Tan
NodeType::Tanh
NodeType::Ceil
NodeType::Floor
NodeType::Exp
NodeType::Log
NodeType::Logabs
NodeType::Log1p
NodeType::Sqrt
NodeType::Sqrtabs
NodeType::Square
NodeType::Logistic
NodeType::Before
NodeType::After
NodeType::During
NodeType::Min
NodeType::Max
NodeType::Mean
NodeType::Median
NodeType::Prod
NodeType::Sum
NodeType::OffsetSum
NodeType::Softmax
NodeType::Add
NodeType::Sub
NodeType::Mul
NodeType::Div
NodeType::Pow
NodeType::SplitBest
NodeType::SplitOn
NodeType::And
NodeType::Or
NodeType::Not
NodeType::MeanLabel
NodeType::Constant
NodeType::Terminal
NodeType::ArgMax
NodeType::Count
NodeType::CustomUnaryOp
NodeType::CustomBinaryOp
NodeType::CustomSplit
- Individual and Fitness
Individual
Individual::Individual()
Individual::Individual()
Individual::init()
Individual::fit()
Individual::fit()
Individual::predict()
Individual::predict()
Individual::predict_proba()
Individual::predict_proba()
Individual::get_is_fitted()
Individual::get_size()
Individual::get_depth()
Individual::get_complexity()
Individual::get_program()
Individual::get_model()
Individual::get_dot_model()
Individual::set_fitness()
Individual::get_fitness()
Individual::set_id()
Individual::set_parents()
Individual::set_parents()
Individual::get_objectives()
Individual::set_objectives()
Individual::program
Individual::is_fitted_
Individual::id
Individual::parent_id
Individual::error
Individual::fitness
Individual::objectives
Individual::weightsMap
Fitness
Fitness::set_dominated()
Fitness::get_dominated()
Fitness::set_loss()
Fitness::get_loss()
Fitness::set_loss_v()
Fitness::get_loss_v()
Fitness::set_size()
Fitness::get_size()
Fitness::set_complexity()
Fitness::get_complexity()
Fitness::set_depth()
Fitness::get_depth()
Fitness::set_dcounter()
Fitness::get_dcounter()
Fitness::set_rank()
Fitness::get_rank()
Fitness::set_crowding_dist()
Fitness::get_crowding_dist()
Fitness::Fitness()
Fitness::hash()
Fitness::set_weights()
Fitness::get_weights()
Fitness::get_values()
Fitness::get_wvalues()
Fitness::set_values()
Fitness::clearValues()
Fitness::valid()
Fitness::operator==()
Fitness::operator!=()
Fitness::operator<()
Fitness::operator>()
Fitness::operator<=()
Fitness::operator>=()
Fitness::toString()
Fitness::repr()
Fitness::dominates()
Fitness::loss
Fitness::loss_v
Fitness::complexity
Fitness::size
Fitness::depth
Fitness::dcounter
Fitness::dominated
Fitness::rank
Fitness::crowding_dist
Fitness::values
Fitness::weights
Fitness::wvalues
- Evaluation
- Population
Population
Population::Population()
Population::~Population()
Population::init()
Population::init()
Population::save()
Population::load()
Population::size()
Population::get_island_indexes()
Population::add_offspring_indexes()
Population::update()
Population::operator[]()
Population::operator[]()
Population::print_models()
Population::sorted_front()
Population::hall_of_fame()
Population::migrate()
Population::pop_size
Population::num_islands
Population::mig_prob
Population::individuals
Population::island_indexes
Population::SameFitComplexity
Population::SortComplexity
- Variation (Crossover/Mutation)
- Selection
- Archive
- Engine (and parameters)
Parameters
Parameters::Parameters()
Parameters::~Parameters()
Parameters::set_verbosity()
Parameters::get_verbosity()
Parameters::set_random_state()
Parameters::get_random_state()
Parameters::set_pop_size()
Parameters::get_pop_size()
Parameters::set_max_gens()
Parameters::get_max_gens()
Parameters::set_max_stall()
Parameters::get_max_stall()
Parameters::set_max_time()
Parameters::get_max_time()
Parameters::set_scorer_()
Parameters::get_scorer_()
Parameters::set_load_population()
Parameters::get_load_population()
Parameters::set_save_population()
Parameters::get_save_population()
Parameters::get_logfile()
Parameters::set_logfile()
Parameters::set_current_gen()
Parameters::get_current_gen()
Parameters::set_num_islands()
Parameters::get_num_islands()
Parameters::set_max_depth()
Parameters::get_max_depth()
Parameters::set_n_jobs()
Parameters::get_n_jobs()
Parameters::set_max_size()
Parameters::get_max_size()
Parameters::set_objectives()
Parameters::get_objectives()
Parameters::set_sel()
Parameters::get_sel()
Parameters::set_surv()
Parameters::get_surv()
Parameters::set_cx_prob()
Parameters::get_cx_prob()
Parameters::set_mig_prob()
Parameters::get_mig_prob()
Parameters::set_use_arch()
Parameters::get_use_arch()
Parameters::set_val_from_arch()
Parameters::get_val_from_arch()
Parameters::set_classification()
Parameters::get_classification()
Parameters::set_shuffle_split()
Parameters::get_shuffle_split()
Parameters::set_n_classes()
Parameters::get_n_classes()
Parameters::set_validation_size()
Parameters::get_validation_size()
Parameters::set_feature_names()
Parameters::get_feature_names()
Parameters::set_batch_size()
Parameters::get_batch_size()
Parameters::set_mutation_probs()
Parameters::get_mutation_probs()
Parameters::set_functions()
Parameters::get_functions()
Parameters::random_state
Parameters::verbosity
Parameters::mode
Parameters::current_gen
Parameters::pop_size
Parameters::max_gens
Parameters::max_stall
Parameters::max_time
Parameters::max_depth
Parameters::max_size
Parameters::objectives
Parameters::sel
Parameters::surv
Parameters::functions
Parameters::num_islands
Parameters::use_arch
Parameters::val_from_arch
Parameters::mutation_probs
Parameters::cx_prob
Parameters::mig_prob
Parameters::scorer_
Parameters::classes
Parameters::class_weights
Parameters::sample_weights
Parameters::classification
Parameters::n_classes
Parameters::shuffle_split
Parameters::validation_size
Parameters::feature_names
Parameters::batch_size
Parameters::load_population
Parameters::save_population
Parameters::logfile
Parameters::n_jobs
Engine
Engine::Engine()
Engine::~Engine()
Engine::print_progress()
Engine::calculate_stats()
Engine::print_stats()
Engine::log_stats()
Engine::get_params()
Engine::set_params()
Engine::get_is_fitted()
Engine::update_best()
Engine::get_best_ind()
Engine::fit()
Engine::fit()
Engine::predict()
Engine::predict()
Engine::predict_proba()
Engine::predict_proba()
Engine::get_archive_size()
Engine::get_archive()
Engine::predict_archive()
Engine::predict_archive()
Engine::predict_proba_archive()
Engine::predict_proba_archive()
Engine::run()
Engine::best_score
Engine::best_complexity
Engine::params
Engine::best_ind
Engine::archive