公有成员

CKernelPerceptron类参考


详细描述

Class KernelPerceptron - currently unfinished implementation of a Kernel Perceptron.

在文件KernelPerceptron.h24行定义。

继承图,类CKernelPerceptron
Inheritance graph
[图例]

所有成员的列表。

公有成员

 CKernelPerceptron ()
virtual ~CKernelPerceptron ()
virtual bool train (CFeatures *data=NULL)
virtual float64_t classify_example (int32_t num)
virtual bool load (FILE *srcfile)
virtual bool save (FILE *dstfile)
virtual EClassifierType get_classifier_type ()
virtual const char * get_name () const

构造及析构函数文档

constructor

在文件KernelPerceptron.cpp17行定义。

~CKernelPerceptron (  ) [virtual]

在文件KernelPerceptron.cpp23行定义。


成员函数文档

float64_t classify_example ( int32_t  num ) [virtual]

classify one specific example

参数:
numwhich example to classify
返回:
classified value

重载CKernelMachine

在文件KernelPerceptron.cpp53行定义。

virtual EClassifierType get_classifier_type (  ) [virtual]

get classifier type

返回:
classifier type KERNELPERCEPTRON

重载CClassifier

在文件KernelPerceptron.h66行定义。

virtual const char* get_name (  ) const [virtual]
返回:
object name

实现了CSGObject

在文件KernelPerceptron.h72行定义。

bool load ( FILE *  srcfile ) [virtual]

load KernelPerceptron from file

参数:
srcfilefile to load from
返回:
if load was successful

重载CClassifier

在文件KernelPerceptron.cpp42行定义。

bool save ( FILE *  dstfile ) [virtual]

save KernelPerceptron to file

参数:
dstfilefile to save to
返回:
if save was successful

重载CClassifier

在文件KernelPerceptron.cpp47行定义。

bool train ( CFeatures data = NULL ) [virtual]

train kernel perceptron classifier

参数:
datatraining data (parameter can be avoided if distance or kernel-based classifiers are used and distance/kernels are initialized with train data)
返回:
whether training was successful

重载CClassifier

在文件KernelPerceptron.cpp27行定义。


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

SHOGUN Machine Learning Toolbox - Documentation