SHOGUN
v2.0.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
shogun
regression
gp
LikelihoodModel.cpp
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Copyright (C) 2012 Jacob Walker
8
*/
9
10
#include <
shogun/regression/gp/LikelihoodModel.h
>
11
#ifdef HAVE_EIGEN3
12
13
using namespace
shogun;
14
15
CLikelihoodModel::CLikelihoodModel
()
16
{
17
m_df
= 1.0;
18
SG_ADD
(&
m_df
,
"df"
,
"Degrees of Freedom."
,
MS_AVAILABLE
);
19
}
20
21
CLikelihoodModel::~CLikelihoodModel
()
22
{
23
}
24
25
float64_t
CLikelihoodModel::get_parameter_derivative
(
const
char
* param_name)
26
{
27
SG_ERROR
(
"Derivative with respect to parameter %s "
\
28
"not implemented in likelihood model (%s)."
,
29
param_name,
get_name
());
30
31
return
0;
32
}
33
#endif
/* HAVE_EIGEN3 */
SHOGUN
Machine Learning Toolbox - Documentation