SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ModelSelection.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2011-2012 Heiko Strathmann
8  * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
9  */
10 
11 #ifndef __MODELSELECTION_H_
12 #define __MODELSELECTION_H_
13 
14 #include <shogun/lib/config.h>
15 
16 #include <shogun/base/SGObject.h>
18 
19 namespace shogun
20 {
21 class CModelSelectionParameters;
22 class CParameterCombination;
23 
32 {
33 public:
36 
42  CModelSelection(CMachineEvaluation* machine_eval,
43  CModelSelectionParameters* model_parameters);
44 
46  virtual ~CModelSelection();
47 
54  virtual CParameterCombination* select_model(bool print_state=false)=0;
55 
56 private:
58  void init();
59 
60 protected:
65 };
66 }
67 #endif /* __MODELSELECTION_H_ */
virtual CParameterCombination * select_model(bool print_state=false)=0
Class to select parameters and their ranges for model selection. The structure is organized as a tree...
Abstract base class for model selection.
CModelSelectionParameters * m_model_parameters
CMachineEvaluation * m_machine_eval
Class SGObject is the base class of all shogun objects.
Definition: SGObject.h:115
Machine Evaluation is an abstract class that evaluates a machine according to some criterion...
Class that holds ONE combination of parameters for a learning machine. The structure is organized as ...
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18

SHOGUN Machine Learning Toolbox - Documentation