SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
MKLOneClass.h
浏览该文件的文档.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2009 Soeren Sonnenburg
8  * Copyright (C) 2009 Fraunhofer Institute FIRST and Max-Planck-Society
9  */
10 #ifndef __MKLONECLASS_H__
11 #define __MKLONECLASS_H__
12 
13 #include <shogun/lib/config.h>
14 
15 #include <shogun/lib/common.h>
17 
18 namespace shogun
19 {
27 class CMKLOneClass : public CMKL
28 {
29  public:
34  CMKLOneClass(CSVM* s=NULL);
35 
38  virtual ~CMKLOneClass();
39 
43  virtual float64_t compute_sum_alpha();
44 
46  virtual const char* get_name() const { return "MKLOneClass"; }
47 
48  protected:
52  virtual void init_training();
53 
59 };
60 }
61 #endif //__MKLONECLASS_H__
EMachineType
Definition: Machine.h:33
virtual const char * get_name() const
Definition: MKLOneClass.h:46
virtual float64_t compute_sum_alpha()
Definition: MKLOneClass.cpp:16
Multiple Kernel Learning for one-class-classification.
Definition: MKLOneClass.h:27
virtual void init_training()
Definition: MKLOneClass.cpp:21
double float64_t
Definition: common.h:50
Multiple Kernel Learning.
Definition: MKL.h:95
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
virtual EMachineType get_classifier_type()
Definition: MKLOneClass.h:58
A generic Support Vector Machine Interface.
Definition: SVM.h:49
CMKLOneClass(CSVM *s=NULL)
Definition: MKLOneClass.cpp:6

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