v = lr.classify(new DenseVector(new double[]{0, 1}));
assertEquals(1 / 3.0, v.get(0), 1.0e-3);
assertEquals(1 / 3.0, v.get(1), 1.0e-3);
v = lr.classifyFull(new DenseVector(new double[]{0, 1}));
assertEquals(1.0, v.zSum(), 1.0e-8);
assertEquals(1 / 3.0, v.get(0), 1.0e-3);
assertEquals(1 / 3.0, v.get(1), 1.0e-3);
assertEquals(1 / 3.0, v.get(2), 1.0e-3);
// but the weights on the first component are non-zero