1
0
Fork 0
QuaPy/TweetSentQuant/settings.py

7 lines
215 B
Python
Raw Normal View History

2021-01-15 08:33:39 +01:00
import multiprocessing
N_JOBS = 1 #multiprocessing.cpu_count()
ENSEMBLE_N_JOBS = -2
SAMPLE_SIZE = 100
assert N_JOBS==1 or ENSEMBLE_N_JOBS==1, 'general N_JOBS and ENSEMBLE_N_JOBS should not be both greater than 1'