Skip to content

Commit

Permalink
fixing duplicated classifier in asgd test
Browse files Browse the repository at this point in the history
  • Loading branch information
dsullivan7 committed Oct 15, 2014
1 parent a5618f9 commit a2d7f89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sklearn/linear_model/tests/test_sgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ def test_late_onset_averaging_not_reached(self):
clf1.partial_fit(X, Y)
clf2.partial_fit(X, Y)

assert_array_almost_equal(clf1.coef_, clf2.coef_, decimal=10)
assert_almost_equal(clf1.intercept_, clf1.intercept_, decimal=10)
assert_array_almost_equal(clf1.coef_, clf2.coef_, decimal=16)
assert_almost_equal(clf1.intercept_, clf2.intercept_, decimal=16)

def test_late_onset_averaging_reached(self):
eta0 = .001
Expand Down

0 comments on commit a2d7f89

Please sign in to comment.