54 void CConstMean::init()
 
   70     REQUIRE(features,
"The features should NOT be NULL\n");
 
   71     REQUIRE(param,
"The param should NOT be NULL\n");
 
   73     if (!strcmp(param->
m_name, 
"mean"))
 
   81         SG_ERROR(
"Can't compute derivative wrt %s parameter\n", param->
m_name);
 
virtual int32_t get_num_vectors() const =0
An abstract class of the mean function. 
all of classes and functions are contained in the shogun namespace 
virtual SGVector< float64_t > get_parameter_derivative(const CFeatures *features, const TParameter *param, index_t index=-1)
virtual SGVector< float64_t > get_mean_vector(const CFeatures *features) const 
The class Features is the base class of all feature objects. 
void set_const(T const_elem)