Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huaxingao committed Jun 10, 2020
1 parent 949a0b6 commit b8a0d72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,6 @@ public void logisticRegressionTrainingSummary() {
LogisticRegressionModel model = lr.fit(dataset);

LogisticRegressionTrainingSummary summary = model.summary();
Assert.assertEquals(summary.totalIterations(), summary.objectiveHistory().length);
Assert.assertEquals(summary.totalIterations(), summary.objectiveHistory().length - 1);
}
}

0 comments on commit b8a0d72

Please sign in to comment.