GNPPSVM.h

Go to the documentation of this file.
00001 /*
00002  * This program is free software; you can redistribute it and/or modify
00003  * it under the terms of the GNU General Public License as published by
00004  * the Free Software Foundation; either version 3 of the License, or
00005  * (at your option) any later version.
00006  *
00007  * Written (W) 1999-2008 Vojtech Franc, xfrancv@cmp.felk.cvut.cz
00008  * Copyright (C) 1999-2008 Center for Machine Perception, CTU FEL Prague 
00009  */
00010 
00011 #ifndef _GNPPSVM_H___
00012 #define _GNPPSVM_H___
00013 
00014 #include <shogun/lib/common.h>
00015 #include <shogun/classifier/svm/SVM.h>
00016 
00017 namespace shogun
00018 {
00020 class CGNPPSVM : public CSVM
00021 {
00022     public:
00024         CGNPPSVM();
00025 
00032         CGNPPSVM(float64_t C, CKernel* k, CLabels* lab);
00033 
00034         virtual ~CGNPPSVM();
00035 
00040         virtual inline EClassifierType get_classifier_type() { return CT_GNPPSVM; }
00041 
00043         inline virtual const char* get_name() const { return "GNPPSVM"; }
00044 
00045     protected:
00054         virtual bool train_machine(CFeatures* data=NULL);
00055 };
00056 }
00057 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation