You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> assert_allclose(ridge_32.coef_, ridge_64.coef_, rtol=1e-4)
E AssertionError:
E Not equal to tolerance rtol=0.0001, atol=0
E
E Mismatch: 20%
E Max absolute difference: 1.16000745e-05
E Max relative difference: 0.00021615
E x: array([-0.033519, -0.288303, -0.15874 , 0.094331, 0.378421],
E dtype=float32)
E y: array([-0.033527, -0.288297, -0.158729, 0.09434 , 0.378415])
The text was updated successfully, but these errors were encountered:
We can use atol for comparing float32 and float64.
comparing results from exact algorithms vs. iterative (stochastic) method
Each algorithm has a different notion of tol. For this case, we may need to set a different tol for each algorithm. (Reminds me of LogisticRegression discussion)
test_dtype_match[sag] is failing on
scipy-dev
:The text was updated successfully, but these errors were encountered: