36 #ifndef _KLDUALINFERENCEMETHOD_H_ 37 #define _KLDUALINFERENCEMETHOD_H_ 39 #include <shogun/lib/config.h> 66 virtual const char*
get_name()
const {
return "KLDualInferenceMethodMinimizer"; }
132 virtual const char*
get_name()
const {
return "KLDualInferenceMethod"; }
317 bool m_is_dual_valid;
virtual bool precompute()
friend class KLDualInferenceMethodCostFunction
virtual void get_gradient_of_nlml_wrt_parameters(SGVector< float64_t > gradient)
virtual ~CKLDualInferenceMethodMinimizer()
The class Labels models labels, i.e. class assignments of objects.
Build-in minimizer for KLDualInference.
An abstract class of the mean function.
std::enable_if<!std::is_same< T, complex128_t >::value, float64_t >::type mean(const Container< T > &a)
The class wraps the Shogun's C-style LBFGS minimizer.
CKLDualInferenceMethodMinimizer(FirstOrderCostFunction *fun)
The dual KL approximation inference method class.
virtual void register_minimizer(Minimizer *minimizer)
virtual void update_chol()
void set_model(CLikelihoodModel *mod)
The KL approximation inference method class.
virtual void get_gradient_of_dual_objective_wrt_parameters(SGVector< float64_t > gradient)
virtual void update_approx_cov()
CKLDualInferenceMethodMinimizer()
virtual SGVector< float64_t > get_alpha()
static CKLDualInferenceMethod * obtain_from_generic(CInference *inference)
virtual EInferenceType get_inference_type() const
The first order cost function base class.
virtual void update_deriv()
virtual void init_minimization()
virtual float64_t get_derivative_related_cov(SGMatrix< float64_t > dK)
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
The Inference Method base class.
virtual float64_t optimization()
The class Features is the base class of all feature objects.
virtual void check_dual_inference(CLikelihoodModel *mod) const
virtual const char * get_name() const
virtual float64_t minimize()
The minimizer base class.
virtual CDualVariationalGaussianLikelihood * get_dual_variational_likelihood() const
virtual float64_t get_dual_objective_wrt_parameters()
virtual void update_alpha()
virtual float64_t get_negative_log_marginal_likelihood_helper()
virtual SGVector< float64_t > get_diagonal_vector()
Class that models dual variational likelihood.
The Likelihood model base class.
virtual ~CKLDualInferenceMethod()