In order to speed-up nested cross-validation with sklearn, is it better to fix n_jobs=-1 in inner or outer loop, since nested parallelism is not allowed ?
相关问题
- multidplyr : assign functions to cluster
- Convert Python dictionary to Word2Vec object
- How to find beta values in Logistic Regression mod
- Parallel for loop over range of array indices in C
- Unicode Warning when using NLTK stopwords with Tfi
相关文章
- How to use doMC under Windows or alternative paral
- what is the difference between transformer and est
- ValueError: Unknown label type: 'continuous
- Parallel while loop in R
- How to use cross_val_score with random_state
- Does gfortran take advantage of DO CONCURRENT?
- Python loading old version of sklearn
- Using Parallel Linq Extensions to union two sequen
This seems to be an an open question, see e.g. this open issue on scikit-learn's github page.
Another approach is to use a Message Passing Interface (MPI) to exploit multiple processors, see e.g. this blogpost using MPI4PY.