11 using namespace shogun;
15 m_segment_loss_matrix(1,1),
16 m_segment_loss(1,1,2),
19 m_num_segment_types(0)
30 SG_ERROR(
"segment_loss should be 2 x quadratic matrix: %i!=%i\n", 2*m, n) ;
63 int32_t last_pos = all_pos[len-1];
64 for (
int pos=len-1;pos>=0; pos--)
75 last_pos = all_pos[pos];