36 #ifndef _KLDUALINFERENCEMETHOD_H_ 37 #define _KLDUALINFERENCEMETHOD_H_ 39 #include <shogun/lib/config.h> 66 virtual const char*
get_name()
const {
return "KLDualInferenceMethodMinimizer"; }
110 friend class KLDualInferenceMethodCostFunction;
132 virtual const char*
get_name()
const {
return "KLDualInferenceMethod"; }
182 virtual void register_minimizer(
Minimizer* minimizer);
205 virtual void update_approx_cov();
208 virtual void update_alpha();
211 virtual void update_chol();
216 virtual void update_deriv();
223 virtual float64_t get_negative_log_marginal_likelihood_helper();
233 virtual bool precompute();
268 virtual float64_t get_dual_objective_wrt_parameters();
317 bool m_is_dual_valid;
virtual void get_gradient_of_nlml_wrt_parameters(SGVector< float64_t > gradient)
virtual ~CKLDualInferenceMethodMinimizer()
virtual const char * get_name() const
The class Labels models labels, i.e. class assignments of objects.
virtual EInferenceType get_inference_type() const
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.
The KL approximation inference method class.
CKLDualInferenceMethodMinimizer()
The first order cost function base class.
virtual void init_minimization()
all of classes and functions are contained in the shogun namespace
The Inference Method base class.
virtual const char * get_name() const
The class Features is the base class of all feature objects.
virtual float64_t minimize()
The minimizer base class.
Class that models dual variational likelihood.
The Likelihood model base class.