skglm.solvers.LBFGS#

class skglm.solvers.LBFGS(max_iter=50, tol=0.0001, verbose=False)[source]#

A wrapper for scipy L-BFGS solver.

Refer to scipy L-BFGS-B documentation for details.

Parameters:
max_iterint, default 20

Maximum number of iterations.

tolfloat, default 1e-4

Tolerance for convergence.

verbosebool, default False

Amount of verbosity. 0/False is silent.

__init__(max_iter=50, tol=0.0001, verbose=False)[source]#

Methods

__init__([max_iter, tol, verbose])

solve(X, y, datafit, penalty[, w_init, Xw_init])

Solve an optimization problem.