/* do initialize() with aggressiveness parameter */
udtf.initialize(new ObjectInspector[]{intListOI, intOI, param});
float loss = 0.1f;
PredictionResult margin1 = new PredictionResult(0.5f).squaredNorm(0.05f);
float expectedLearningRate1 = 0.4615384f;
assertEquals(expectedLearningRate1, udtf.eta(loss, margin1), 1e-5f);
PredictionResult margin2 = new PredictionResult(0.5f).squaredNorm(0.01f);
float expectedLearningRate2 = 0.5660377f;
assertEquals(expectedLearningRate2, udtf.eta(loss, margin2), 1e-5f);
}