37 #include <shogun/lib/config.h> 73 virtual const char*
get_name()
const {
return "ConstMean"; }
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 Const mean function class.
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)
The class Features is the base class of all feature objects.
virtual const char * get_name() const
virtual SGVector< float64_t > get_mean_vector(const CFeatures *features) const
virtual void set_const(float64_t mean)