change more hardcoded CPU counts to os.cpu_count()

This commit is contained in:
Tanushree Tunstall 2022-07-02 10:25:13 +01:00
parent b8653c6afe
commit 2fda32901b
4 changed files with 4 additions and 4 deletions

View file

@ -152,7 +152,7 @@ def MultModelsCl_logo_skf(input_df
, run_blind_test = True
, return_formatted_output = True
, random_state = 42
, n_jobs = 10
, n_jobs = os.cpu_count() # the number of jobs should equal the number of CPU cores
, ):
'''