Python scikit learn n_jobs

前端 未结 3 1788
故里飘歌
故里飘歌 2021-02-02 01:43

This is not a real issue, but I\'d like to understand:

  • running sklearn from Anaconda distrib on a Win7 4 cores 8 GB system
  • fitting a KMeans model on a 200
3条回答
  •  花落未央
    2021-02-02 02:04

    • what is the point of using n-jobs (and joblib) if the the library uses all cores anyway?

    It does not, if you specify n_jobs to -1, it will use all cores. If it is set to 1 or 2, it will use one or two cores only (test done scikit-learn 0.20.3 under Linux).

提交回复
热议问题