scikit-learn/scikit-learn — pull request #2631 by pprett (2013-12-03 08:11:46+00:00)
Title: Fix sgd l1 ratio

This fixes a regression that happened when we changed from ``rho`` to ``l1_ratio``. ``l1_ratio`` is actually ``1.0 - l1_ratio`` .

I added a test that now checks if L1 and L2 penalty matches elastic net with extreme ``l1_ratio``.

@amueller @mblondel