SHOGUN
v3.2.0
|
00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Written (W) 2011-2012 Heiko Strathmann 00008 * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society 00009 */ 00010 00011 #ifndef __MODELSELECTION_H_ 00012 #define __MODELSELECTION_H_ 00013 00014 #include <shogun/base/SGObject.h> 00015 #include <shogun/evaluation/MachineEvaluation.h> 00016 00017 namespace shogun 00018 { 00019 class CModelSelectionParameters; 00020 class CParameterCombination; 00021 00029 class CModelSelection: public CSGObject 00030 { 00031 public: 00033 CModelSelection(); 00034 00040 CModelSelection(CMachineEvaluation* machine_eval, 00041 CModelSelectionParameters* model_parameters); 00042 00044 virtual ~CModelSelection(); 00045 00052 virtual CParameterCombination* select_model(bool print_state=false)=0; 00053 00054 private: 00056 void init(); 00057 00058 protected: 00060 CModelSelectionParameters* m_model_parameters; 00062 CMachineEvaluation* m_machine_eval; 00063 }; 00064 } 00065 #endif /* __MODELSELECTION_H_ */