Skip to content

Commit

Permalink
Making tol consistently refer to stopping criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
jameschapman19 committed Jan 9, 2023
1 parent d8f2ebd commit f2ea299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cca_zoo/test/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def test_pls():
pls = PLS(latent_dims=3)
pls_als.fit((X, Y))
pls.fit((X, Y))
assert np.allclose(np.abs(pls_als.weights[0]), np.abs(pls.weights[0]), rtol=1e-1)
assert np.allclose(pls_als.score((X,Y)), pls.score((X,Y)), rtol=1e-1)


def test_weighted_GCCA_methods():
Expand Down

0 comments on commit f2ea299

Please sign in to comment.