Multithreaded calls to the objective function of scipy.optimize.leastsq

后端 未结 5 395
孤街浪徒
孤街浪徒 2020-12-29 00:47

I\'m using scipy.optimize.leastsq in conjunction with a simulator. leastsq calls a user-defined objective function and passes an input vector to it

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-29 01:10

    Does this help? http://docs.python.org/library/multiprocessing.html

    I've always found Pool to be the simplest to multiprocess with python.

提交回复
热议问题