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 * Copyright (C) 2012 Jacob Walker 00008 */ 00009 00010 #include <shogun/regression/gp/LikelihoodModel.h> 00011 #ifdef HAVE_EIGEN3 00012 00013 using namespace shogun; 00014 00015 CLikelihoodModel::CLikelihoodModel() 00016 { 00017 m_df = 1.0; 00018 SG_ADD(&m_df, "df", "Degrees of Freedom.", MS_AVAILABLE); 00019 } 00020 00021 CLikelihoodModel::~CLikelihoodModel() 00022 { 00023 } 00024 00025 float64_t CLikelihoodModel::get_parameter_derivative(const char* param_name) 00026 { 00027 SG_ERROR("Derivative with respect to parameter %s " \ 00028 "not implemented in likelihood model (%s).", 00029 param_name, get_name()); 00030 00031 return 0; 00032 } 00033 #endif /* HAVE_EIGEN3 */