15 #ifndef CSINGLELAPLACEINFERENCEMETHOD_H_ 16 #define CSINGLELAPLACEINFERENCEMETHOD_H_ 18 #include <shogun/lib/config.h> 65 virtual const char*
get_name()
const {
return "SingleLaplaceInferenceMethod"; }
256 virtual const char*
get_name()
const {
return "SingleLaplaceNewtonOptimizer"; }
268 void unset_target(
bool is_unref);
virtual const char * get_name() const
virtual void update_alpha()
virtual void update_chol()
CSingleLaplaceInferenceMethod()
virtual void set_minimization_tolerance(float64_t tol)
virtual void set_minimization_max(float64_t max)
The class Labels models labels, i.e. class assignments of objects.
virtual EInferenceType get_inference_type() const
SGVector< float64_t > m_d2lp
The build-in minimizer for SingleLaplaceInference.
SGVector< float64_t > m_sW
CSingleLaplaceNewtonOptimizer()
virtual SGVector< float64_t > get_derivative_wrt_inference_method(const TParameter *param)
virtual void update_deriv()
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)
virtual float64_t get_negative_log_marginal_likelihood()
static CSingleLaplaceInferenceMethod * obtain_from_generic(CInference *inference)
virtual ~CSingleLaplaceInferenceMethod()
virtual bool supports_binary() const
SGMatrix< float64_t > m_Z
virtual SGVector< float64_t > get_derivative_wrt_mean(const TParameter *param)
virtual bool supports_binary() const
virtual void set_newton_tolerance(float64_t tol)
SGVector< float64_t > m_d3lp
virtual void update_init()
virtual SGVector< float64_t > get_diagonal_vector()
virtual SGVector< float64_t > get_posterior_mean()
virtual SGVector< float64_t > get_derivative_wrt_kernel(const TParameter *param)
SGVector< float64_t > m_mean_f
float64_t get_psi_wrt_alpha()
all of classes and functions are contained in the shogun namespace
The Laplace approximation inference method base class.
The Inference Method base class.
friend class SingleLaplaceInferenceMethodCostFunction
virtual const char * get_name() const
The class Features is the base class of all feature objects.
virtual void set_newton_iterations(int32_t iter)
virtual bool supports_regression() const
virtual ~CSingleLaplaceNewtonOptimizer()
SGVector< float64_t > m_dfhat
The minimizer base class.
virtual bool supports_regression() const
SGVector< float64_t > m_g
T max(const Container< T > &a)
The SingleLaplace approximation inference method class for regression and binary Classification.
CLikelihoodModel * m_model
virtual void check_members() const
The Likelihood model base class.
virtual SGVector< float64_t > get_derivative_wrt_likelihood_model(const TParameter *param)
virtual void update_approx_cov()
void get_gradient_wrt_alpha(SGVector< float64_t > gradient)
virtual void register_minimizer(Minimizer *minimizer)