SHOGUN v0.9.0
公有成员 | 保护属性
CScatterSVM类参考

详细描述

ScatterSVM - Multiclass SVM.

The ScatterSVM is an unpublished experimental true multiclass SVM. Details are availabe in the following technical report.

This code is currently experimental.

Robert Jenssen and Marius Kloft and Alexander Zien and S"oren Sonnenburg and Klaus-Robert M"{u}ller, A Multi-Class Support Vector Machine Based on Scatter Criteria, TR 014-2009 TU Berlin, 2009

在文件ScatterSVM.h第50行定义。

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

所有成员的列表。

公有成员

 CScatterSVM (void)
 CScatterSVM (SCATTER_TYPE type)
 CScatterSVM (float64_t C, CKernel *k, CLabels *lab)
virtual ~CScatterSVM ()
virtual bool train (CFeatures *data=NULL)
virtual EClassifierType get_classifier_type ()
virtual float64_t classify_example (int32_t num)
virtual CLabels * classify_one_vs_rest ()
virtual const char * get_name () const

保护属性

SCATTER_TYPE scatter_type
svm_problem problem
svm_parameter param
struct svm_model * model
float64_t * norm_wc
float64_t * norm_wcw
float64_t rho
int32_t m_num_classes

构造及析构函数文档

CScatterSVM ( void  )

default constructor

在文件ScatterSVM.cpp第20行定义。

constructor

在文件ScatterSVM.cpp第27行定义。

CScatterSVM ( float64_t  C,
CKernel *  k,
CLabels *  lab 
)

constructor (using NO_BIAS as default scatter_type)

参数:
Cconstant C
kkernel
lablabels

在文件ScatterSVM.cpp第33行定义。

~CScatterSVM ( ) [virtual]

default destructor

在文件ScatterSVM.cpp第39行定义。


成员函数文档

float64_t classify_example ( int32_t  num) [virtual]

classify one example

参数:
numnumber of example to classify
返回:
resulting classification

重载CMultiClassSVM。

在文件ScatterSVM.cpp第447行定义。

CLabels * classify_one_vs_rest ( ) [virtual]

classify one vs rest

返回:
resulting labels

重载CMultiClassSVM。

在文件ScatterSVM.cpp第339行定义。

virtual EClassifierType get_classifier_type ( ) [virtual]

get classifier type

返回:
classifier type LIBSVM

重载CClassifier。

在文件ScatterSVM.h第84行定义。

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

重载CSVM。

在文件ScatterSVM.h第100行定义。

bool train ( CFeatures *  data = NULL) [virtual]

train SVM 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。

在文件ScatterSVM.cpp第45行定义。


成员数据文档

int32_t m_num_classes [protected]

number of classes

重载CMultiClassSVM。

在文件ScatterSVM.h第130行定义。

struct svm_model* model [protected]

SVM model

在文件ScatterSVM.h第118行定义。

float64_t* norm_wc [protected]

norm of w_c

在文件ScatterSVM.h第121行定义。

float64_t* norm_wcw [protected]

norm of w_cw

在文件ScatterSVM.h第124行定义。

svm_parameter param [protected]

SVM param

在文件ScatterSVM.h第115行定义。

svm_problem problem [protected]

SVM problem

在文件ScatterSVM.h第113行定义。

float64_t rho [protected]

ScatterSVM rho

在文件ScatterSVM.h第127行定义。

type of scatter SVM

在文件ScatterSVM.h第110行定义。


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

SHOGUN Machine Learning Toolbox - Documentation