assertEquals(0.35000000000000003, NeuralUtils.dot(vector1, vector2), 1e-5);
assertEquals(0.6363636363636364, NeuralUtils.cosine(vector1, vector2), 1e-5);
vector1 = vector1.transpose();
vector2 = vector2.transpose();
assertEquals(0.35000000000000003, NeuralUtils.dot(vector1, vector2), 1e-5);
assertEquals(0.6363636363636364, NeuralUtils.cosine(vector1, vector2), 1e-5);
}
public void testIsZero() {