QuaPy/quapy/__init__.py

32 lines
572 B
Python
Raw Normal View History

from . import error
2021-01-15 18:32:32 +01:00
from . import data
from quapy.data import datasets
2020-12-03 18:12:28 +01:00
from . import functional
2022-05-25 19:14:33 +02:00
# from . import method
from . import evaluation
2022-05-25 19:14:33 +02:00
from . import protocol
2021-01-07 17:58:48 +01:00
from . import plot
from . import util
2021-01-11 18:31:12 +01:00
from . import model_selection
from . import classification
__version__ = '0.1.7'
environ = {
'SAMPLE_SIZE': None,
'UNK_TOKEN': '[UNK]',
'UNK_INDEX': 0,
'PAD_TOKEN': '[PAD]',
'PAD_INDEX': 1,
'SVMPERF_HOME': './svm_perf_quantification',
'N_JOBS': 1
}
2022-05-25 19:14:33 +02:00
def get_njobs(n_jobs):
return environ['N_JOBS'] if n_jobs is None else n_jobs