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 00020 class CModelSelectionParameters; 00021 class CParameterCombination; 00022 00030 class CModelSelection: public CSGObject 00031 { 00032 public: 00037 CModelSelection(CModelSelectionParameters* model_parameters, 00038 CMachineEvaluation* machine_eval); 00039 00041 virtual ~CModelSelection(); 00042 00049 virtual CParameterCombination* select_model(bool print_state=false)=0; 00050 00051 private: 00052 00053 /*Initializer*/ 00054 void init(); 00055 00056 protected: 00058 CModelSelectionParameters* m_model_parameters; 00060 CMachineEvaluation* m_machine_eval; 00061 }; 00062 00063 } 00064 00065 #endif /* __MODELSELECTION_H_ */