36 REQUIRE(dimension_shift<dimension,
"%s::set_mean_shift_model(%f,%d,%d): "
37 "Dimension of shift is larger than number of dimensions!\n",
38 mean_shift, dimension, dimension_shift);
45 void CMeanShiftDataGenerator::init()
This class implements streaming features with dense feature vectors.
static float64_t randn_double()
SGVector< float64_t > current_vector
The current example's feature vector as an SGVector
index_t m_dimension_shift
virtual ~CMeanShiftDataGenerator()
void set_mean_shift_model(float64_t mean_shift, index_t dimension, index_t m_dimension_shift=0)
CMeanShiftDataGenerator()
all of classes and functions are contained in the shogun namespace