Feat C++ API
A feature engineering automation tool
|
interfaces with selection operators. More...
#include <selection.h>
Public Member Functions | |
Selection () | |
~Selection () | |
Selection (string type, bool survival) | |
void | set_operator () |
string | get_type () |
return type of selectionoperator More... | |
void | set_type (string) |
set type of selectionoperator More... | |
vector< size_t > | select (Population &pop, const Parameters ¶ms, const Data &d) |
perform selection More... | |
vector< size_t > | survive (Population &pop, const Parameters ¶ms, const Data &d) |
perform survival More... | |
Public Attributes | |
shared_ptr< SelectionOperator > | pselector |
string | type |
bool | survival |
interfaces with selection operators.
Definition at line 35 of file selection.h.
FT::Sel::Selection::Selection | ( | ) |
set type of selection operator.
Definition at line 11 of file selection.cc.
FT::Sel::Selection::~Selection | ( | ) |
Definition at line 52 of file selection.cc.
FT::Sel::Selection::Selection | ( | string | type, |
bool | survival | ||
) |
set type of selection operator.
Definition at line 21 of file selection.cc.
string FT::Sel::Selection::get_type | ( | ) |
return type of selectionoperator
Definition at line 55 of file selection.cc.
vector< size_t > FT::Sel::Selection::select | ( | Population & | pop, |
const Parameters & | params, | ||
const Data & | d | ||
) |
perform selection
Definition at line 61 of file selection.cc.
void FT::Sel::Selection::set_operator | ( | ) |
Definition at line 31 of file selection.cc.
void FT::Sel::Selection::set_type | ( | string | in | ) |
set type of selectionoperator
Definition at line 58 of file selection.cc.
vector< size_t > FT::Sel::Selection::survive | ( | Population & | pop, |
const Parameters & | params, | ||
const Data & | d | ||
) |
perform survival
Definition at line 68 of file selection.cc.
shared_ptr<SelectionOperator> FT::Sel::Selection::pselector |
Definition at line 37 of file selection.h.
bool FT::Sel::Selection::survival |
Definition at line 39 of file selection.h.
string FT::Sel::Selection::type |
Definition at line 38 of file selection.h.