SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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___
EMachineType
Definition: Machine.h:33
Trains a one class C SVM.
virtual EMachineType get_classifier_type()
virtual const char * get_name() const
double float64_t
Definition: common.h:50
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
The class Features is the base class of all feature objects.
Definition: Features.h:68
class SVMlight
Definition: SVMLight.h:225
The Kernel base class.
Definition: Kernel.h:159
virtual bool train_machine(CFeatures *data=NULL)

SHOGUN Machine Learning Toolbox - Documentation