On Thu, May 24, 2012 at 4:27 PM, Gael Varoquaux <[email protected]> wrote: > Thanks for your investigations. These are useful comments. > > On Thu, May 24, 2012 at 04:22:30PM -0400, Ian Goodfellow wrote: >> I think I need to introduce a dirty bit that determines whether coef_ >> needs to be recomputed. > > If possible I'd rather avoid that (can create bugs hard to find). > > It seems to me that a simple way to avoid the problem would be to do: > > coef_ = self.coef_ > > outside any for loop. That way the cost of computing the coef_ is > hopefully negligeable. > > Do you think that this could work?
No. The only for loop we need to get rid of is the one contained in coef_. > > Gaël > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
