13 using namespace shogun;
23 :
CDotFeatures(orig), m_bins(orig.m_bins), m_fill(orig.m_fill),
24 m_norm_one(orig.m_norm_one)
122 assert_shape(vec2_len);
142 result+=vec2[offs+j];
150 result+=vec2[offs+j];
166 assert_shape(vec2_len);
180 alpha_correction+=1.0;
184 if (alpha_correction==0.0)
216 void CBinnedDotFeatures::assert_shape(int32_t vec2_len)
220 SG_ERROR(
"Bin matrix has shape (%d,%d) = %d entries, not matching vector"
227 SG_ERROR(
"Number of colums (%d) doesn't match number of features "
300 void CBinnedDotFeatures::init()
309 return "BinnedDotFeatures";