Skip to content

How to pass args to skopt, like n_jobs for multiprocessing? #276

Answered by kernc
crazy25000 asked this question in Q&A
Discussion options

You must be logged in to vote

Tried passing it as a keyword arg, but does not work

It doesn't work if it's not implemented in the source.

Additional keyword arguments represent strategy arguments with
list-like collections of possible values. For example, the following
code finds and returns the "best" of the 7 admissible (of the
9 possible) parameter combinations:
backtest.optimize(sma1=[5, 10, 15], sma2=[10, 20, 40],

Passing n_jobs != 1 won't help you; n_jobs= in scikit-optimize is only used for building the hyperspace landscape estimators, not for running the comparably likely more expensive ob…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@crazy25000
Comment options

Answer selected by crazy25000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants