ModelSelection.h

Go to the documentation of this file.
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 __MODELSELECTION_H_
00012 #define __MODELSELECTION_H_
00013 
00014 #include <shogun/base/SGObject.h>
00015 
00016 namespace shogun
00017 {
00018 
00019 class CModelSelectionParameters;
00020 class CCrossValidation;
00021 class CParameterCombination;
00022 
00030 class CModelSelection: public CSGObject
00031 {
00032 public:
00038     CModelSelection(CModelSelectionParameters* model_parameters,
00039             CCrossValidation* cross_validation);
00040 
00042     virtual ~CModelSelection();
00043 
00048     virtual CParameterCombination* select_model()=0;
00049 
00051     inline virtual const char* get_name() const { return "ModelSelection"; }
00052 
00053 protected:
00055     CModelSelectionParameters* m_model_parameters;
00057     CCrossValidation* m_cross_validation;
00058 };
00059 
00060 }
00061 
00062 #endif /* __MODELSELECTION_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation