2021-01-06 14:58:29 +01:00
|
|
|
from . import error
|
2020-12-29 20:33:59 +01:00
|
|
|
from .data import datasets
|
2020-12-03 18:12:28 +01:00
|
|
|
from . import functional
|
|
|
|
from . import method
|
2021-01-06 14:58:29 +01:00
|
|
|
from . import data
|
2020-12-10 19:04:33 +01:00
|
|
|
from . import evaluation
|
2020-12-29 20:33:59 +01:00
|
|
|
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):
|
|
|
|
return data.isbinary(x) or method.aggregative.isbinary(x)
|