SHOGUN  3.2.1
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
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/common.h>
15 
16 namespace shogun
17 {
25 class CMKLOneClass : public CMKL
26 {
27  public:
32  CMKLOneClass(CSVM* s=NULL);
33 
36  virtual ~CMKLOneClass();
37 
41  virtual float64_t compute_sum_alpha();
42 
44  virtual const char* get_name() const { return "MKLOneClass"; }
45 
46  protected:
50  virtual void init_training();
51 
57 };
58 }
59 #endif //__MKLONECLASS_H__
EMachineType
Definition: Machine.h:33
virtual const char * get_name() const
Definition: MKLOneClass.h:44
virtual float64_t compute_sum_alpha()
Definition: MKLOneClass.cpp:16
Multiple Kernel Learning for one-class-classification.
Definition: MKLOneClass.h:25
virtual void init_training()
Definition: MKLOneClass.cpp:21
double float64_t
Definition: common.h:48
Multiple Kernel Learning.
Definition: MKL.h:95
virtual EMachineType get_classifier_type()
Definition: MKLOneClass.h:56
A generic Support Vector Machine Interface.
Definition: SVM.h:47
CMKLOneClass(CSVM *s=NULL)
Definition: MKLOneClass.cpp:6

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