rec_count++;
Vector vec = new RandomAccessSparseVector(qtf.feature_size);
double actual = factory.processLineAlt(line, vec);
// we're only looking at the first row or the matrix because
// the original code was for multinomial log regression
// but here we only need a single parameter vector
double hypothesis_value = polr.getBeta().viewRow(0).dot(vec);