SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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-2012 Heiko Strathmann
8  *
9  * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
10  */
11 
15 #include <shogun/base/Parameter.h>
16 
17 using namespace shogun;
18 
20  CMachineEvaluation* machine_eval)
21 {
22  init();
23 
24  m_model_parameters=model_parameters;
26 
27  m_machine_eval=machine_eval;
29 }
30 
31 void CModelSelection::init()
32 {
33  m_model_parameters=NULL;
34  m_machine_eval=NULL;
35 
36  SG_ADD((CSGObject**)&m_model_parameters, "model_parameters",
37  "Parameter tree for model selection", MS_NOT_AVAILABLE);
38 
39  SG_ADD((CSGObject**)&m_machine_eval, "machine_evaluation",
40  "Machine evaluation strategy", MS_NOT_AVAILABLE);
41 }
42 
44 {
47 }
48 

SHOGUN Machine Learning Toolbox - Documentation