SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SVMLightOneClass.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) 2010 Soeren Sonnenburg
8  * Copyright (C) 2010 Berlin Institute of Technology
9  */
10 
11 #ifndef _SVMLIGHTONECLASS_H___
12 #define _SVMLIGHTONECLASS_H___
13 
14 #include <shogun/lib/config.h>
15 #include <shogun/machine/Machine.h>
16 
17 #ifdef USE_SVMLIGHT
19 #endif //USE_SVMLIGHT
20 
21 #ifdef USE_SVMLIGHT
22 namespace shogun
23 {
29 {
30  public:
33 
40 
42  virtual ~CSVMLightOneClass() { }
43 
49 
54  virtual const char* get_name() const { return "SVMLightOneClass"; }
55 
56  protected:
65  virtual bool train_machine(CFeatures* data=NULL);
66 };
67 }
68 #endif //USE_SVMLIGHT
69 #endif // _SVMLIGHTONECLASS_H___

SHOGUN Machine Learning Toolbox - Documentation