SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
11 #ifdef HAVE_EIGEN3
12 
13 using namespace shogun;
14 
16 {
17  m_df = 1.0;
18  SG_ADD(&m_df, "df", "Degrees of Freedom.", MS_AVAILABLE);
19 }
20 
22 {
23 }
24 
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