41 using namespace Eigen;
46 CLogitDVGLikelihood::CLogitDVGLikelihood()
95 REQUIRE(param,
"Param is required (param should not be NULL)\n");
96 REQUIRE(param->
m_name,
"Param name is required (param->m_name should not be NULL)\n");
98 "Can't compute derivative of the variational expection ",
99 "of log LogitLikelihood in dual setting",
100 "wrt %s.%s parameter. The function only accepts lambda as parameter\n",
125 void CLogitDVGLikelihood::init()
static const float64_t INFTY
infinity
virtual void set_likelihood(CLikelihoodModel *lik)
SGVector< float64_t > m_lab
virtual SGVector< float64_t > get_dual_objective_value()
virtual const char * get_name() const
Class that models Logit likelihood and uses numerical integration to approximate the following variat...
virtual void init_likelihood()
all of classes and functions are contained in the shogun namespace
static float64_t log(float64_t v)
SGVector< T > clone() const
SGVector< float64_t > m_lambda
virtual ~CLogitDVGLikelihood()
Class that models dual variational likelihood.
virtual SGVector< float64_t > get_mu_dual_parameter() const
virtual SGVector< float64_t > get_variance_dual_parameter() const
virtual SGVector< float64_t > get_dual_first_derivative(const TParameter *param) const