We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d94e487 commit 795623aCopy full SHA for 795623a
docs/source/faq.rst
@@ -29,7 +29,7 @@ Why can I not use a ``lambda`` with a learner?
29
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30
31
When using the `~adaptive.Runner` the learner's function is evaluated in different Python processes.
32
-Therefore, the ``function`` needs to be serialized (pickled) and send to the executor, ``lambda``\s cannot be pickled.
+Therefore, the ``function`` needs to be serialized (pickled) and send to the other Python processes; ``lambda``\s cannot be pickled.
33
Instead you can probably use ``functools.partial`` to accomplish what you want to do.
34
35
Where can I learn more about the algorithm used?
0 commit comments