Skip to content

Commit

Permalink
Update tau max.
Browse files Browse the repository at this point in the history
  • Loading branch information
RAMitchell committed Oct 8, 2023
1 parent 439a83c commit 1ff4779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legateboost/models/linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def solve_singular(self, a, b):
return res
except (np.linalg.LinAlgError, cn.linalg.LinAlgError):
tau = max(tau * 2, eps)
if tau > 100:
if tau > 1e10:
raise ValueError(
"Numerical instability in linear model solve. "
"Consider normalising your data."
Expand Down

0 comments on commit 1ff4779

Please sign in to comment.