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
fromyaglm.config.penaltyimportLassofromyaglm.GlmTunedimportGlmCV# default penalty sequence created automatically from X/Ypenalty=Lasso()
# specify details of how the automatically inferred sequence is createdpenalty=Lasso().tune(n_pen_vals=100,
pen_min_mult=1e-3,
pen_max_mult=1,
pen_spacing='log')
# manually specify the tuning parameter sequencepenalty=Lasso().tune(pen_val_seq=[.1, 1, 10, 100])
est=GlmCV(penalty=penalty).fit(X, y)
Thank you for making this library! Is it possible to specify the lambda path for the model to search?
The text was updated successfully, but these errors were encountered: