SHOGUN v0.9.0
|
Template class StringKernel, is the base class of all String Kernels.
For a (very complex) example see e.g. CWeightedDegreeStringKernel
在文件StringKernel.h第24行定义。
公有成员 | |
CStringKernel (int32_t cachesize=0) | |
CStringKernel (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 () |
CStringKernel | ( | int32_t | cachesize = 0 | ) |
CStringKernel | ( | CFeatures * | l, |
CFeatures * | r | ||
) |
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
return feature class the kernel can deal with
实现了CKernel。
在文件StringKernel.h第69行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
实现了CKernel。
在文件StringKernel.h第107行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
实现了CKernel。
在文件StringKernel.h第105行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
实现了CKernel。
在文件StringKernel.h第99行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
实现了CKernel。
在文件StringKernel.h第101行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
实现了CKernel。
在文件StringKernel.h第103行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
实现了CKernel。
在文件StringKernel.h第97行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
实现了CKernel。
在文件StringKernel.h第95行定义。
virtual EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
实现了CKernel。
被CCommUlongStringKernel、CCommWordStringKernel及CWeightedCommWordStringKernel重载。
virtual EKernelType get_kernel_type | ( | ) | [pure virtual] |
return what type of kernel we are, e.g. Linear,Polynomial, Gaussian,...
abstract base method
实现了CKernel。
在CCommUlongStringKernel、CCommWordStringKernel、CFixedDegreeStringKernel、CGaussianMatchStringKernel、CHistogramWordStringKernel、CLinearStringKernel、CLocalAlignmentStringKernel、CLocalityImprovedStringKernel、CMatchWordStringKernel、COligoStringKernel、CPolyMatchStringKernel、CPolyMatchWordStringKernel、CRegulatoryModulesStringKernel、CSalzbergWordStringKernel、CSimpleLocalityImprovedStringKernel、CSNPStringKernel、CSparseSpatialSampleStringKernel、CSpectrumMismatchRBFKernel、CSpectrumRBFKernel、CWeightedCommWordStringKernel、CWeightedDegreePositionStringKernel及CWeightedDegreeStringKernel内被实现。
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'.
实现了CSGObject。
被CCommUlongStringKernel、CCommWordStringKernel、CFixedDegreeStringKernel、CGaussianMatchStringKernel、CHistogramWordStringKernel、CLinearStringKernel、CLocalAlignmentStringKernel、CLocalityImprovedStringKernel、CMatchWordStringKernel、COligoStringKernel、CPolyMatchStringKernel、CPolyMatchWordStringKernel、CRegulatoryModulesStringKernel、CSalzbergWordStringKernel、CSimpleLocalityImprovedStringKernel、CSNPStringKernel、CSparseSpatialSampleStringKernel、CSpectrumMismatchRBFKernel、CSpectrumRBFKernel、CWeightedCommWordStringKernel、CWeightedDegreePositionStringKernel及CWeightedDegreeStringKernel重载。
在文件StringKernel.h第82行定义。
initialize kernel e.g. setup lhs/rhs of kernel, precompute normalization constants etc. make sure to check that your kernel can deal with the supplied features (!)
l | features for left-hand side |
r | features for right-hand side |
重载CKernel。
被CCommUlongStringKernel、CCommWordStringKernel、CFixedDegreeStringKernel、CGaussianMatchStringKernel、CHistogramWordStringKernel、CLinearStringKernel、CLocalAlignmentStringKernel、CLocalityImprovedStringKernel、CMatchWordStringKernel、COligoStringKernel、CPolyMatchStringKernel、CPolyMatchWordStringKernel、CRegulatoryModulesStringKernel、CSalzbergWordStringKernel、CSimpleLocalityImprovedStringKernel、CSNPStringKernel、CSparseSpatialSampleStringKernel、CSpectrumMismatchRBFKernel、CSpectrumRBFKernel、CWeightedCommWordStringKernel、CWeightedDegreePositionStringKernel及CWeightedDegreeStringKernel重载。
在文件StringKernel.h第53行定义。