Permalink
Browse files

DOC: revert rescaling of alpha in example

  • Loading branch information...
1 parent bdfd854 commit 93727dbb0ff8d73825cc797c06a2e6b36fe852f3 @josef-pkt josef-pkt committed Oct 5, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 examples/example_discrete.py
@@ -94,7 +94,6 @@
# l1 regularized Poisson model
poisson_mod2 = sm.Poisson(rand_data.endog, rand_exog)
alpha = 0.1 * len(rand_data.endog) * np.ones(rand_exog.shape[1])
-alpha = 0.1 * np.ones(rand_exog.shape[1])
alpha[-1] = 0
poisson_l1_res = poisson_mod2.fit_regularized(method='l1', alpha=alpha)

0 comments on commit 93727db

Please sign in to comment.