QuaPy/quapy/method/__init__.py

43 lines
801 B
Python
Raw Normal View History

from . import aggregative
2021-01-15 18:32:32 +01:00
from . import base
from . import meta
2021-01-15 18:32:32 +01:00
from . import non_aggregative
2020-12-03 18:12:28 +01:00
EXPLICIT_LOSS_MINIMIZATION_METHODS = {
aggregative.ELM,
aggregative.SVMQ,
aggregative.SVMAE,
aggregative.SVMKLD,
aggregative.SVMRAE,
aggregative.SVMNKLD
}
2020-12-03 18:12:28 +01:00
AGGREGATIVE_METHODS = {
2021-01-07 17:58:48 +01:00
aggregative.CC,
aggregative.ACC,
aggregative.PCC,
aggregative.PACC,
aggregative.EMQ,
2021-06-16 12:03:37 +02:00
aggregative.HDy,
aggregative.X,
aggregative.T50,
aggregative.MAX,
aggregative.MS,
aggregative.MS2,
} | EXPLICIT_LOSS_MINIMIZATION_METHODS
2020-12-03 18:12:28 +01:00
NON_AGGREGATIVE_METHODS = {
non_aggregative.MaximumLikelihoodPrevalenceEstimation
2020-12-03 18:12:28 +01:00
}
META_METHODS = {
meta.Ensemble,
meta.QuaNet
}
QUANTIFICATION_METHODS = AGGREGATIVE_METHODS | NON_AGGREGATIVE_METHODS | META_METHODS
2020-12-03 18:12:28 +01:00