41 using namespace Eigen;
61 REQUIRE(feat_type,
"Input features (%s) must be DotFeatures"
64 "The dim of feature spaces between"
65 " input features (%d) and inducing features (%d) must be same\n",
73 SG_WARNING(
"Input features (%s) and inducing features (%s) are"
79 SG_WARNING(
"Input features and inducing features are difference types\n");
98 void CSparseInference::init()
114 REQUIRE(noise>0,
"Noise (%f) for inducing points must be postive",noise);
virtual const char * get_name() const =0
virtual bool init(CFeatures *lhs, CFeatures *rhs)
virtual void set_inducing_features(CFeatures *feat)
virtual ~CSparseInference()
The class Labels models labels, i.e. class assignments of objects.
SGVector< float64_t > m_mu
virtual void set_inducing_noise(float64_t noise)
An abstract class of the mean function.
Features that support dot products among other operations.
SGMatrix< float64_t > get_kernel_matrix()
virtual void check_members() const
virtual int32_t get_dim_feature_space() const =0
virtual void update_train_kernel()
virtual SGMatrix< float64_t > get_cholesky()
virtual void check_features()
SGMatrix< float64_t > m_Sigma
virtual CFeatures * get_inducing_features()
virtual void convert_features()
SGMatrix< float64_t > m_kuu
SGMatrix< float64_t > m_L
virtual EFeatureClass get_feature_class() const =0
virtual SGVector< float64_t > get_alpha()
SGVector< float64_t > m_ktrtr_diag
all of classes and functions are contained in the shogun namespace
The Inference Method base class.
SGMatrix< float64_t > m_inducing_features
The class Features is the base class of all feature objects.
static float64_t exp(float64_t x)
SGVector< float64_t > get_kernel_diagonal(SGVector< float64_t > preallocated=SGVector< float64_t >())
static float64_t log(float64_t v)
virtual float64_t get_inducing_noise()
SGMatrix< float64_t > m_ktru
SGMatrix< float64_t > get_computed_dot_feature_matrix()
virtual bool parameter_hash_changed()
The Likelihood model base class.
virtual EFeatureType get_feature_type() const =0
float64_t m_log_ind_noise
SGVector< float64_t > m_alpha
virtual void check_members() const