GPBTSVM.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-2009 Soeren Sonnenburg
00008  * Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max-Planck-Society
00009  */
00010 
00011 #ifndef _GPBTSVM_H___
00012 #define _GPBTSVM_H___
00013 #include <shogun/lib/common.h>
00014 #include <shogun/classifier/svm/SVM.h>
00015 #include <shogun/classifier/svm/SVM_libsvm.h>
00016 
00017 #include <stdio.h>
00018 
00019 namespace shogun
00020 {
00022 class CGPBTSVM : public CSVM
00023 {
00024     public:
00026         CGPBTSVM();
00027         
00034         CGPBTSVM(float64_t C, CKernel* k, CLabels* lab);
00035         virtual ~CGPBTSVM();
00036 
00041         virtual inline EClassifierType get_classifier_type() { return CT_GPBT; }
00042 
00044         inline virtual const char* get_name() const { return "GPBTSVM"; }
00045 
00046     protected:
00055         virtual bool train_machine(CFeatures* data=NULL);
00056 
00057     protected:
00059         struct svm_model* model;
00060 };
00061 }
00062 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation