34 #ifndef CINFERENCEMETHOD_H_
35 #define CINFERENCEMETHOD_H_
virtual void set_labels(CLabels *lab)
virtual void set_model(CLikelihoodModel *mod)
virtual float64_t get_negative_log_marginal_likelihood()=0
virtual CFeatures * get_features()
virtual void update_alpha()=0
SGVector< float64_t > m_alpha
The Inference Method base class.
virtual void set_features(CFeatures *feat)
The class Labels models labels, i.e. class assignments of objects.
virtual ~CInferenceMethod()
virtual CMap< TParameter *, SGVector< float64_t > > * get_gradient(CMap< TParameter *, CSGObject * > *parameters)
virtual void set_scale(float64_t scale)
An abstract class of the mean function.
virtual SGVector< float64_t > get_derivative_wrt_likelihood_model(const TParameter *param)=0
SGMatrix< float64_t > m_L
Class SGObject is the base class of all shogun objects.
virtual SGMatrix< float64_t > get_multiclass_E()
virtual bool supports_regression() const
virtual void compute_gradient()
SGMatrix< float64_t > m_E
An abstract class that describes a differentiable function used for GradientEvaluation.
virtual CLabels * get_labels()
virtual SGVector< float64_t > get_derivative_wrt_inference_method(const TParameter *param)=0
virtual void update_train_kernel()
virtual SGVector< float64_t > get_derivative_wrt_kernel(const TParameter *param)=0
virtual CMeanFunction * get_mean()
virtual void set_kernel(CKernel *kern)
float64_t get_marginal_likelihood_estimate(int32_t num_importance_samples=1, float64_t ridge_size=1e-15)
all of classes and functions are contained in the shogun namespace
virtual SGVector< float64_t > get_derivative_wrt_mean(const TParameter *param)=0
virtual void set_mean(CMeanFunction *m)
virtual SGMatrix< float64_t > get_posterior_covariance()=0
virtual CKernel * get_kernel()
The class Features is the base class of all feature objects.
void scale(Matrix A, Matrix B, typename Matrix::Scalar alpha)
virtual void update_chol()=0
virtual bool supports_multiclass() const
virtual void check_members() const
virtual SGVector< float64_t > get_posterior_mean()=0
virtual EInferenceType get_inference_type() const
virtual bool supports_binary() const
virtual SGVector< float64_t > get_value()
virtual void update_deriv()=0
The Likelihood model base class.
SGMatrix< float64_t > m_ktrtr
virtual CMap< TParameter *, SGVector< float64_t > > * get_negative_log_marginal_likelihood_derivatives(CMap< TParameter *, CSGObject * > *parameters)
CLikelihoodModel * get_model()
CLikelihoodModel * m_model
virtual float64_t get_scale() const
the class CMap, a map based on the hash-table. w: http://en.wikipedia.org/wiki/Hash_table ...
static void * get_derivative_helper(void *p)