SHOGUN v0.9.0
公有成员
CSparseKernel< ST >模板类参考

详细描述

template<class ST>
class shogun::CSparseKernel< ST >

Template class SparseKernel, is the base class of kernels working on sparse features.

See e.g. the CSparseGaussianKernel for an example.

在文件SparseKernel.h24行定义。

继承图,类CSparseKernel< ST >
Inheritance graph
[图例]

所有成员的列表。

公有成员

 CSparseKernel (int32_t cachesize)
 CSparseKernel (CFeatures *l, CFeatures *r)
virtual bool init (CFeatures *l, CFeatures *r)
virtual EFeatureClass get_feature_class ()
virtual EFeatureType get_feature_type ()
virtual const char * get_name (void) const
virtual EKernelType get_kernel_type ()=0
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()

构造及析构函数文档

CSparseKernel ( int32_t  cachesize)

constructor

参数:
cachesizecache size

在文件SparseKernel.h31行定义。

CSparseKernel ( CFeatures l,
CFeatures r 
)

constructor

参数:
lfeatures for left-hand side
rfeatures for right-hand side

在文件SparseKernel.h38行定义。


成员函数文档

virtual EFeatureClass get_feature_class ( ) [virtual]

return feature class the kernel can deal with

返回:
feature class SPARSE

实现了CKernel

在文件SparseKernel.h70行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel

在文件SparseKernel.h108行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel

在文件SparseKernel.h106行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel

在文件SparseKernel.h100行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel

在文件SparseKernel.h102行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel

在文件SparseKernel.h104行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel

在文件SparseKernel.h98行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel

在文件SparseKernel.h96行定义。

virtual EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

返回:
templated feature type

实现了CKernel

virtual EKernelType get_kernel_type ( ) [pure virtual]

return what type of kernel we are, e.g. Linear,Polynomial, Gaussian,...

abstract base method

返回:
kernel type

实现了CKernel

virtual const char* get_name ( void  ) const [virtual]

Returns the name of the SGSerializable instance. It MUST BE the CLASS NAME without the prefixed `C'.

返回:
name of the SGSerializable

实现了CSGObject

在文件SparseKernel.h83行定义。

virtual bool init ( CFeatures l,
CFeatures r 
) [virtual]

initialize kernel

参数:
lfeatures of left-hand side
rfeatures of right-hand side
返回:
if initializing was successful

重载CKernel

在文件SparseKernel.h49行定义。


该类的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation