SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
CrossValidationMKLStorage.h
浏览该文件的文档.
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) 2012 Heiko Strathmann
8  *
9  */
10 
11 #ifndef __CROSSVALIDATIONMKLSTORAGE_H_
12 #define __CROSSVALIDATIONMKLSTORAGE_H_
13 
14 #include <shogun/lib/config.h>
15 
17 #include <shogun/lib/SGMatrix.h>
18 
19 namespace shogun
20 {
21 
22 class CMachine;
23 class CLabels;
24 class CEvaluation;
25 
28 {
29 public:
30 
33 
36 
38  virtual const char* get_name() const { return "CrossValidationMKLStorage"; }
39 
45  virtual void update_trained_machine(CMachine* machine,
46  const char* prefix="");
47 
51 
52 protected:
57 };
58 
59 }
60 
61 #endif /* __CROSSVALIDATIONMKLSTORAGE_H_ */
virtual SGMatrix< float64_t > get_mkl_weights()
A generic learning machine interface.
Definition: Machine.h:143
Class for storing MKL weights in every fold of cross-validation.
Class for managing individual folds in cross-validation.
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
virtual void update_trained_machine(CMachine *machine, const char *prefix="")

SHOGUN 机器学习工具包 - 项目文档