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 Heiko Strathmann 00008 * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society 00009 */ 00010 00011 #ifndef __GRIDSEARCHMODELSELECTION_H_ 00012 #define __GRIDSEARCHMODELSELECTION_H_ 00013 00014 #include <shogun/modelselection/ModelSelection.h> 00015 #include <shogun/base/DynArray.h> 00016 00017 namespace shogun 00018 { 00019 00020 class CModelSelectionParameters; 00021 00026 class CGridSearchModelSelection: public CModelSelection 00027 { 00028 public: 00030 CGridSearchModelSelection(); 00031 00036 CGridSearchModelSelection(CModelSelectionParameters* model_parameters, 00037 CMachineEvaluation* machine_eval); 00038 00040 virtual ~CGridSearchModelSelection(); 00041 00048 virtual CParameterCombination* select_model(bool print_state=false); 00049 00051 virtual const char* get_name() const 00052 { 00053 return "GridSearchModelSelection"; 00054 } 00055 }; 00056 00057 } 00058 00059 #endif /* __GRIDSEARCHMODELSELECTION_H_ */