2021-01-06 14:58:29 +01:00
|
|
|
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
|
|
|
|
from . import method
|
2020-12-10 19:04:33 +01:00
|
|
|
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
|
2021-01-18 16:52:19 +01:00
|
|
|
from quapy.method.base import isprobabilistic, isaggregative
|
2020-12-29 20:33:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
environ = {
|
|
|
|
'SAMPLE_SIZE': None,
|
|
|
|
'UNK_TOKEN': '[UNK]',
|
|
|
|
'UNK_INDEX': 0,
|
|
|
|
'PAD_TOKEN': '[PAD]',
|
|
|
|
'PAD_INDEX': 1,
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
def isbinary(x):
|
2021-01-15 17:42:19 +01:00
|
|
|
return x.binary
|
2021-01-18 16:52:19 +01:00
|
|
|
|
|
|
|
|