Skip to content
Quantoros

Why does an scikit-learn job use more CPU cores than specified by njobs?

Classic MLLevel: AdvancedParallelism and oversubscription

Why does an scikit-learn job use more CPU cores than specified by n_jobs?

Hints
  • State the task, inputs and prediction target.
  • Compare with a simple baseline: assumptions, objective and independent validation.

Answer

This answer is part of mentoring

Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.

Source and licence: scikit-learn developers — Official FAQ · BSD-3-Clause · answer: Quantoros editorial

Related questions