SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MKLOneClass.h
Go to the documentation of this file.
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__

SHOGUN Machine Learning Toolbox - Documentation