37 SG_PRINT(
"Generating parameter combinations\n")
48 if (print_state)
SG_PRINT(
"Direction is maximize\n")
53 if (print_state)
SG_PRINT(
"Direction is minimize\n")
81 SG_ERROR(
"Evaluation result is not of type CCrossValidationResult!")
112 if (best_combination)
138 return best_combination;
virtual EEvaluationResultType get_result_type() const
void apply_to_modsel_parameter(Parameter *parameter) const
void print_tree(int prefix_num=0) const
int32_t get_num_elements() const
type to encapsulate the results of an evaluation run.
A generic learning machine interface.
Class to select parameters and their ranges for model selection. The structure is organized as a tree...
virtual CEvaluationResult * evaluate()=0
static const float64_t ALMOST_NEG_INFTY
almost neg (log) infinity
Abstract base class for model selection.
CModelSelectionParameters * m_model_parameters
CMachineEvaluation * m_machine_eval
CMachine * get_machine() const
Machine Evaluation is an abstract class that evaluates a machine according to some criterion...
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
CGridSearchModelSelection()
Class that holds ONE combination of parameters for a learning machine. The structure is organized as ...
EEvaluationDirection get_evaluation_direction()
Parameter * m_model_selection_parameters
virtual CParameterCombination * select_model(bool print_state=false)
all of classes and functions are contained in the shogun namespace
CDynamicObjectArray * get_combinations(index_t prefix_num=1)
virtual void print_result()
static const float64_t ALMOST_INFTY
CSGObject * get_element(int32_t index) const
virtual ~CGridSearchModelSelection()