Skip to content

Commit e04e6b6

Browse files
committed
up
1 parent a5ea4fc commit e04e6b6

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

Readme.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ git clone https://github.com/idc9/ya_glm.git
5252
python 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)
110110
EstCV(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

120117
Est, 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

126122
Est(quantile=0.5).fit(X, y)

0 commit comments

Comments
 (0)