.learningRate(5);
int k = 0;
int[] ordering = permute(gen, data.numRows());
for (int epoch = 0; epoch < 100; epoch++) {
for (int row : ordering) {
lr.train(row, (int) data.get(row, 9), data.viewRow(row));
System.out.printf("%d,%d,%.3f\n", epoch, k++, lr.auc());
}
assertEquals(1, lr.auc(), 0.2);
}
assertEquals(1, lr.auc(), 0.1);