On Tue, Sep 20, 2011 at 11:20:03AM +0200, Olivier Grisel wrote:
> > Look at it this way: this is an opportunity to teach people how to
> > properly structure their scripts for properly for use with joblib on
> > all platforms. :-)

Yes, I agree with this. I'll add a statement in the docs of joblib
mentionning this. We should add a warning where it is relevant in the
docs of the scikit, and comments in the examples. Thanks Robert for
suggesting it.

> Ok you convinced me. I modified the script to put everything under a
> if __name__ == '__main__'  block with a comment explaining why:

> https://github.com/scikit-learn/scikit-learn-tutorial/blob/master/solutions/exercise_02_sentiment.py

Looks good. Maybe you should point out how this relates to the n_jobs
argument: the link between the webpage you mention and n_jobs might not
be clear.

Cheers,

Gael

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to