SHOGUN  v1.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ModelSelection.cpp
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2011 Heiko Strathmann
8  * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
9  */
10 
14 #include <shogun/base/Parameter.h>
15 
16 using namespace shogun;
17 
19  CCrossValidation* cross_validation) :
20  m_model_parameters(model_parameters), m_cross_validation(cross_validation)
21 {
24 
25  m_parameters->add((CSGObject**) &m_model_parameters, "model_parameters",
26  "Parameter tree for model selection");
27 
28  m_parameters->add((CSGObject**) &m_cross_validation, "cross_validation",
29  "Cross validation strategy");
30 
31 }
32 
34 {
37 }
38 

SHOGUN Machine Learning Toolbox - Documentation