32 #ifndef _LOGITLIKELIHOOD_H_
33 #define _LOGITLIKELIHOOD_H_
61 virtual const char*
get_name()
const {
return "LogitLikelihood"; }
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
Class that models Logit likelihood.
virtual ~CLogitLikelihood()
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_log_probability_derivative_f(const CLabels *lab, SGVector< float64_t > func, index_t i) const
virtual SGVector< float64_t > get_log_zeroth_moments(SGVector< float64_t > mu, SGVector< float64_t > s2, const CLabels *lab) const
virtual bool supports_binary() const
all of classes and functions are contained in the shogun namespace
virtual const char * get_name() const
virtual float64_t get_first_moment(SGVector< float64_t > mu, SGVector< float64_t > s2, const CLabels *lab, index_t i) const
virtual ELikelihoodModelType get_model_type() const
virtual SGVector< float64_t > get_log_probability_f(const CLabels *lab, SGVector< float64_t > func) const
The Likelihood model base class.