Skip to content

Commit

Permalink
Merge pull request #81 from arokem/update_deps
Browse files Browse the repository at this point in the history
Update copt to most recent.
  • Loading branch information
richford authored Mar 27, 2023
2 parents 45de277 + 6d7f653 commit bb131a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions groupyr/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ def fit(self, X, y, loss="squared_loss"):
coef = np.zeros(n_features)

if loss == "huber":
f = cp.utils.HuberLoss(X, y)
f = cp.loss.HuberLoss(X, y)
elif loss == "log":
f = cp.utils.LogLoss(X, y)
f = cp.loss.LogLoss(X, y)
else:
f = cp.utils.SquareLoss(X, y)
f = cp.loss.SquareLoss(X, y)

if self.include_solver_trace:
self.solver_trace_ = cp.utils.Trace(f)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ setup_requires =
setuptools_scm
python_requires = >=3.6
install_requires =
copt==0.8.4
copt==0.9.1
numpy==1.21.5
scikit-learn>=1.0.0
scipy
Expand Down

0 comments on commit bb131a0

Please sign in to comment.