1
0
Fork 0
QuaPy/quapy/__init__.py

23 lines
468 B
Python
Raw Normal View History

from . import error
from .data import datasets
2020-12-03 18:12:28 +01:00
from . import functional
from . import method
from . import data
from . import evaluation
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 method.aggregative import isaggregative, isprobabilistic
environ = {
'SAMPLE_SIZE': None,
'UNK_TOKEN': '[UNK]',
'UNK_INDEX': 0,
'PAD_TOKEN': '[PAD]',
'PAD_INDEX': 1,
}
def isbinary(x):
2021-01-07 17:58:48 +01:00
return data.isbinary(x) or method.isbinary(x)