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 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 class CModelSelectionParameters; 00020 00024 class CGridSearchModelSelection : public CModelSelection 00025 { 00026 public: 00028 CGridSearchModelSelection(); 00029 00035 CGridSearchModelSelection(CMachineEvaluation* machine_eval, 00036 CModelSelectionParameters* model_parameters); 00037 00039 virtual ~CGridSearchModelSelection(); 00040 00047 virtual CParameterCombination* select_model(bool print_state=false); 00048 00050 virtual const char* get_name() const { return "GridSearchModelSelection"; } 00051 }; 00052 } 00053 #endif /* __GRIDSEARCHMODELSELECTION_H_ */