12 #ifndef CGRADIENTMODELSELECTION_H_
13 #define CGRADIENTMODELSELECTION_H_
29 class CGradientModelSelection :
public CModelSelection
33 CGradientModelSelection();
43 CGradientModelSelection(CMachineEvaluation* machine_eval,
44 CModelSelectionParameters* model_parameters=NULL);
46 virtual ~CGradientModelSelection();
54 virtual CParameterCombination* select_model(
bool print_state=
false);
60 virtual const char* get_name()
const {
return "GradientModelSelection"; }
66 void set_max_evaluations(uint32_t max_evaluations)
68 m_max_evaluations=max_evaluations;
75 uint32_t get_max_evaluations()
const {
return m_max_evaluations; }
82 void set_grad_tolerance(
float64_t grad_tolerance)
84 m_grad_tolerance=grad_tolerance;
92 float64_t get_grad_tolerance()
const {
return m_grad_tolerance; }
100 uint32_t m_max_evaluations;
107 #endif //USE_GPL_SHOGUN
all of classes and functions are contained in the shogun namespace