2013/11/7 Mathieu Blondel <[email protected]>: > > On Fri, Nov 8, 2013 at 12:28 AM, Vlad Niculae <[email protected]> wrote: >> >> I feel like this would go against "explicit is better than implicit", >> but without it grid search would indeed be awkward. Maybe: >> >> if self.alpha_coef == 'same': >> alpha_coef = self.alpha_comp >> >> ? > > > Sounds good to me!
+1 as well. Although I am not a fan of the "alpha" name (I would prefer "regularizer" instead to be more explicit by not introducing yet another reference to a meaningless greek variable name) but then consistency is important too. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
