SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
| 枚举
KernelDensity.h 文件参考

浏览源代码.

class  CKernelDensity
 This class implements the kernel density estimation technique. Kernel density estimation is a non-parametric way to estimate an unknown pdf. The pdf at a query point given finite training samples is calculated using the following formula : \ \(pdf(x')= \frac{1}{nh} \sum_{i=1}^n K(\frac{||x-x_i||}{h})\) \ K() in the above formula is called the kernel function and is controlled by the parameter h called kernel bandwidth. Presently, this class supports only Gaussian kernel which can be used with either Euclidean distance or Manhattan distance. This class makes use of 2 tree structures KD-tree and Ball tree for fast calculation. KD-trees are faster than ball trees at lower dimensions. In case of high dimensional data, ball tree tends to out-perform KD-tree. By default, the class used is Ball tree. 更多...
 

枚举

enum  EEvaluationMode { EM_KDTREE_SINGLE, EM_BALLTREE_SINGLE, EM_KDTREE_DUAL, EM_BALLTREE_DUAL }
 

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