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 __MKLREGRESSION_H__ 00011 #define __MKLREGRESSION_H__ 00012 00013 #include <shogun/lib/common.h> 00014 #include <shogun/classifier/mkl/MKL.h> 00015 00016 namespace shogun 00017 { 00025 class CMKLRegression : public CMKL 00026 { 00027 public: 00032 CMKLRegression(CSVM* s=NULL); 00033 00036 virtual ~CMKLRegression(); 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_MKLREGRESSION; } 00054 00059 virtual float64_t compute_mkl_dual_objective(); 00060 }; 00061 } 00062 #endif //__MKLREGRESSION_H__