Skip to content

Commit

Permalink
[REVIEW] Adding power_t param to SGD failing pytests (#3012)
Browse files Browse the repository at this point in the history
* adding param to sgd test

* changelog and removing stray prints
  • Loading branch information
divyegala authored Oct 18, 2020
1 parent eb1b950 commit 5beaaae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

## Bug Fixes
- PR #2983: Fix seeding of KISS99 RNG
- PR #3012: Increasing learning rate for SGD log loss and invscaling pytests

# cuML 0.16.0 (Date TBD)

Expand Down
3 changes: 2 additions & 1 deletion python/cuml/test/test_sgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def test_sgd(dtype, lrate, penalty, loss, datatype):

cu_sgd = cumlSGD(learning_rate=lrate, eta0=0.005, epochs=2000,
fit_intercept=True, batch_size=4096,
tol=0.0, penalty=penalty, loss=loss)
tol=0.0, penalty=penalty, loss=loss,
power_t=0.4)

cu_sgd.fit(X_train, y_train)
cu_pred = cu_sgd.predict(X_test)
Expand Down

0 comments on commit 5beaaae

Please sign in to comment.