assertEquals((float) k, v1.norm(1), 0);
assertEquals(1.0, v1.maxValue(), 0);
// adding same interaction again should increment weights
enc.addInteractionToVector("a","1.0",1.0,v1);
assertEquals((float) k*2, v1.norm(1), 0);
assertEquals(2.0, v1.maxValue(), 0);
Vector v2 = new DenseVector(20000);
enc.addInteractionToVector("a","1.0",1.0,v2);
wv.addToVector("a", v2);