File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ git clone https://github.com/idc9/ya_glm.git
5252python setup.py install
5353```
5454
55- To use the backend from [ andersoncd] ( https://github.com/mathurinm/andersoncd ) you have to install their package manually -- see their github page.
55+ To use the backend from [ andersoncd] ( https://github.com/mathurinm/andersoncd ) you have to install their package manually -- see the github page.
5656
5757
5858# Example
@@ -110,17 +110,13 @@ est = Est(groups=groups)
110110EstCV(estimator = est).fit(X, y)
111111
112112
113- # we provide a penalized quantile regression solver based on Linear Programming for
114- # Lasso penalties or Quadratic Programming for Ridge type penalties
115-
116113# Quantile regression with your favorite optimization algorithm
117114# you can easily provide your own optimization algorithm to be the backend solver
118- from ya_glm.backends.quantile_lp.glm_solver import solve_glm
115+ from ya_glm.backends.quantile_lp.glm_solver import solve_glm # Linear Program formulation
119116
120117Est, EstCV = get_pen_glm(loss_func = ' quantile' ,
121118 penalty = ' adpt_lasso' ,
122- backend = {' solve_glm' : solve_glm
123- }
119+ backend = {' solve_glm' : solve_glm}
124120 )
125121
126122Est(quantile = 0.5 ).fit(X, y)
You can’t perform that action at this time.
0 commit comments