We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e74e8a commit a24ed9cCopy full SHA for a24ed9c
skglm/solvers/fista.py
@@ -67,7 +67,7 @@ def solve(self, X, y, datafit, penalty, w_init=None, Xw_init=None):
67
w_old = w.copy()
68
if issparse(X):
69
grad = construct_grad_sparse(
70
- X.data, X.indptr, X.indices, y, z, X @ z, datafit, all_features)
+ X.data, X.indptr, X.indices, y, z, X @ z, datafit, all_features)
71
else:
72
grad = construct_grad(X, y, z, X @ z, datafit, all_features)
73
z -= grad / lipschitz
0 commit comments