32 #ifndef _VARIATIONALLIKELIHOODMODEL_H_
33 #define _VARIATIONALLIKELIHOODMODEL_H_
44 template<
class T>
class SGVector;
virtual SGVector< float64_t > get_third_derivative(const CLabels *lab, SGVector< float64_t > func, const TParameter *param) const
CLikelihoodModel * m_likelihood
virtual SGVector< float64_t > get_first_derivative_wrt_hyperparameter(const TParameter *param) const =0
virtual SGVector< float64_t > get_variational_first_derivative(const TParameter *param) const =0
The class Labels models labels, i.e. class assignments of objects.
virtual float64_t get_second_moment(SGVector< float64_t > mu, SGVector< float64_t > s2, const CLabels *lab, index_t i) const
virtual SGVector< float64_t > get_first_derivative(const CLabels *lab, SGVector< float64_t > func, const TParameter *param) const
virtual bool supports_regression() const
virtual void set_likelihood(CLikelihoodModel *lik)
SGVector< float64_t > m_lab
virtual SGVector< float64_t > get_predictive_means(SGVector< float64_t > mu, SGVector< float64_t > s2, const CLabels *lab=NULL) const
virtual SGVector< float64_t > get_predictive_variances(SGVector< float64_t > mu, SGVector< float64_t > s2, const CLabels *lab=NULL) const
virtual SGVector< float64_t > get_log_probability_f(const CLabels *lab, SGVector< float64_t > func) const
virtual SGVector< float64_t > get_log_probability_derivative_f(const CLabels *lab, SGVector< float64_t > func, index_t i) const
virtual ~CVariationalLikelihood()
virtual SGVector< float64_t > get_variational_expection()=0
virtual ELikelihoodModelType get_model_type() const
virtual SGVector< float64_t > get_log_zeroth_moments(SGVector< float64_t > mu, SGVector< float64_t > s2, const CLabels *lab) const
all of classes and functions are contained in the shogun namespace
virtual SGVector< float64_t > get_second_derivative(const CLabels *lab, SGVector< float64_t > func, const TParameter *param) const
virtual float64_t get_first_moment(SGVector< float64_t > mu, SGVector< float64_t > s2, const CLabels *lab, index_t i) const
virtual bool supports_binary() const
The Variational Likelihood base class.
virtual bool supports_multiclass() const
virtual bool supports_derivative_wrt_hyperparameter() const =0
virtual void init_likelihood()=0
The Likelihood model base class.