el0ps.estimator.L0L2Regressor¶
- class el0ps.estimator.L0L2Regressor(lmbd, beta, M=inf, fit_intercept=False, solver=<el0ps.solver.bnb.BnbSolver object>)¶
Substitute for
L0L1L2Regressorwith parametersalpha=0.- __init__(lmbd, beta, M=inf, fit_intercept=False, solver=<el0ps.solver.bnb.BnbSolver object>)¶
Methods
__init__(lmbd, beta[, M, fit_intercept, solver])fit(X, y)Fit model.
get_metadata_routing()Get metadata routing of this object.
get_params([deep])Get parameters for this estimator.
predict(X)Predict using the linear model.
score(X, y[, sample_weight])Return the coefficient of determination of the prediction.
set_params(**params)Set the parameters of this estimator.
set_score_request(*[, sample_weight])Request metadata passed to the
scoremethod.