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) 2009 Soeren Sonnenburg 00008 * Copyright (C) 2009 Fraunhofer Institute FIRST and Max-Planck-Society 00009 */ 00010 #ifndef __MKLCLASSIFICATION_H__ 00011 #define __MKLCLASSIFICATION_H__ 00012 00013 #include <shogun/lib/common.h> 00014 #include <shogun/classifier/mkl/MKL.h> 00015 00016 namespace shogun 00017 { 00025 class CMKLClassification : public CMKL 00026 { 00027 public: 00032 CMKLClassification(CSVM* s=NULL); 00033 00036 virtual ~CMKLClassification(); 00037 00041 virtual float64_t compute_sum_alpha(); 00042 00043 protected: 00047 virtual void init_training(); 00048 00053 virtual inline EClassifierType get_classifier_type() { return CT_MKLCLASSIFICATION; } 00054 }; 00055 } 00056 #endif //__MKLCLASSIFICATION_H__