11 #ifndef _HISTOGRAM_H___
12 #define _HISTOGRAM_H___
21 template <
class ST>
class CStringFeatures;
71 int32_t num_param, int32_t num_example);
94 virtual const char*
get_name()
const {
return "Histogram"; }
virtual bool set_histogram(const SGVector< float64_t > histogram)
Base class Distribution from which all methods implementing a distribution are derived.
virtual SGVector< float64_t > get_histogram()
Class Histogram computes a histogram over all 16bit unsigned integers in the features.
virtual float64_t get_log_model_parameter(int32_t num_param)
virtual bool train(CFeatures *data=NULL)
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual float64_t get_log_likelihood_example(int32_t num_example)
virtual int32_t get_num_model_parameters()
virtual float64_t get_log_derivative(int32_t num_param, int32_t num_example)
virtual const char * get_name() const