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: 00029 MACHINE_PROBLEM_TYPE(PT_REGRESSION); 00030 00035 CMKLRegression(CSVM* s=NULL); 00036 00039 virtual ~CMKLRegression(); 00040 00044 virtual float64_t compute_sum_alpha(); 00045 00046 protected: 00050 virtual void init_training(); 00051 00056 virtual EMachineType get_classifier_type() { return CT_MKLREGRESSION; } 00057 00062 virtual float64_t compute_mkl_dual_objective(); 00063 }; 00064 } 00065 #endif //__MKLREGRESSION_H__