This is because multiprocessing in python cannot handle functions that
cannot be pickled. I've learnt this the tough way.

You can maybe have a look at this,
http://matthewrocklin.com/blog/work/2013/12/05/Parallelism-and-Serialization/

On Mon, Oct 6, 2014 at 10:48 PM, Gael Varoquaux <
[email protected]> wrote:

> On Mon, Oct 06, 2014 at 07:50:42PM +0100, Dominic Steinitz wrote:
> > > Try not using a lambda function, but a fully-feldged function. Parallel
> > > computing has problems with lambda functions.
>
> > Do you mean parallel computing generally or in Python?
>
> In Python.
>
> Gaƫl
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.  Videos for Nerds.  Stuff that Matters.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>



-- 
Godspeed,
Manoj Kumar,
Intern, Telecom ParisTech
Mech Undergrad
http://manojbits.wordpress.com
------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to