SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
MeanShiftDataGenerator.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-2013 Heiko Strathmann
8  */
9 
10 #ifndef __MEANSHIFTDATAGENERATOR_H_
11 #define __MEANSHIFTDATAGENERATOR_H_
12 
13 #include <shogun/lib/config.h>
14 
15 #include <shogun/lib/common.h>
17 
18 namespace shogun
19 {
20 
21 
35 {
36 public:
39 
46  CMeanShiftDataGenerator(float64_t mean_shift, index_t dimension,
48 
50  virtual ~CMeanShiftDataGenerator();
51 
53  virtual const char* get_name() const
54  {
55  return "MeanShiftDataGenerator";
56  }
57 
64  void set_mean_shift_model(float64_t mean_shift, index_t dimension,
66 
68  bool get_next_example();
69 
71  void release_example();
72 
73 private:
75  void init();
76 
77 protected:
80 
83 
86 };
87 
88 }
89 
90 #endif /* __MEANSHIFTDATAGENERATOR_H_ */
This class implements streaming features with dense feature vectors.
int32_t index_t
Definition: common.h:62
double float64_t
Definition: common.h:50
virtual const char * get_name() const
void set_mean_shift_model(float64_t mean_shift, index_t dimension, index_t m_dimension_shift=0)
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18

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