Skip to content

Commit

Permalink
print pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
Badr-MOUFAD committed Mar 30, 2024
1 parent b988f1a commit 169be60
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions debug_script.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import numpy as np

from celer.utils.testing import build_dataset
from celer.homotopy import celer_path


n_features = 50
sparse_X = True

X, y = build_dataset(
n_samples=11, n_features=n_features, sparse_X=sparse_X)

alphas = np.array([
# 1.73792429, 1.04185824,
0.6245776 ,
0.37442444,
0.22446155,
# 0.13456117, 0.0806673 , 0.04835878, 0.02899032, 0.01737924
])

alphas, coefs, gaps = celer_path(
X, y, "grouplasso", groups=5, alphas=alphas, prune=False,
# n_alphas=10,
tol=1e-10, verbose=2,
)

0 comments on commit 169be60

Please sign in to comment.