mlquantify 0.0.11.2__py3-none-any.whl → 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mlquantify/__init__.py +32 -6
- mlquantify/base.py +559 -257
- mlquantify/classification/__init__.py +1 -1
- mlquantify/classification/methods.py +160 -0
- mlquantify/evaluation/__init__.py +14 -2
- mlquantify/evaluation/measures.py +215 -0
- mlquantify/evaluation/protocol.py +647 -0
- mlquantify/methods/__init__.py +37 -40
- mlquantify/methods/aggregative.py +1030 -0
- mlquantify/methods/meta.py +472 -0
- mlquantify/methods/mixture_models.py +1003 -0
- mlquantify/methods/non_aggregative.py +136 -0
- mlquantify/methods/threshold_optimization.py +957 -0
- mlquantify/model_selection.py +377 -232
- mlquantify/plots.py +367 -0
- mlquantify/utils/__init__.py +2 -2
- mlquantify/utils/general.py +334 -0
- mlquantify/utils/method.py +449 -0
- {mlquantify-0.0.11.2.dist-info → mlquantify-0.1.1.dist-info}/METADATA +137 -122
- mlquantify-0.1.1.dist-info/RECORD +22 -0
- {mlquantify-0.0.11.2.dist-info → mlquantify-0.1.1.dist-info}/WHEEL +1 -1
- mlquantify/classification/pwkclf.py +0 -73
- mlquantify/evaluation/measures/__init__.py +0 -26
- mlquantify/evaluation/measures/ae.py +0 -11
- mlquantify/evaluation/measures/bias.py +0 -16
- mlquantify/evaluation/measures/kld.py +0 -8
- mlquantify/evaluation/measures/mse.py +0 -12
- mlquantify/evaluation/measures/nae.py +0 -16
- mlquantify/evaluation/measures/nkld.py +0 -13
- mlquantify/evaluation/measures/nrae.py +0 -16
- mlquantify/evaluation/measures/rae.py +0 -12
- mlquantify/evaluation/measures/se.py +0 -12
- mlquantify/evaluation/protocol/_Protocol.py +0 -202
- mlquantify/evaluation/protocol/__init__.py +0 -2
- mlquantify/evaluation/protocol/app.py +0 -146
- mlquantify/evaluation/protocol/npp.py +0 -34
- mlquantify/methods/aggregative/ThreholdOptm/_ThreholdOptimization.py +0 -62
- mlquantify/methods/aggregative/ThreholdOptm/__init__.py +0 -7
- mlquantify/methods/aggregative/ThreholdOptm/acc.py +0 -27
- mlquantify/methods/aggregative/ThreholdOptm/max.py +0 -23
- mlquantify/methods/aggregative/ThreholdOptm/ms.py +0 -21
- mlquantify/methods/aggregative/ThreholdOptm/ms2.py +0 -25
- mlquantify/methods/aggregative/ThreholdOptm/pacc.py +0 -41
- mlquantify/methods/aggregative/ThreholdOptm/t50.py +0 -21
- mlquantify/methods/aggregative/ThreholdOptm/x.py +0 -23
- mlquantify/methods/aggregative/__init__.py +0 -9
- mlquantify/methods/aggregative/cc.py +0 -32
- mlquantify/methods/aggregative/emq.py +0 -86
- mlquantify/methods/aggregative/fm.py +0 -72
- mlquantify/methods/aggregative/gac.py +0 -96
- mlquantify/methods/aggregative/gpac.py +0 -87
- mlquantify/methods/aggregative/mixtureModels/_MixtureModel.py +0 -81
- mlquantify/methods/aggregative/mixtureModels/__init__.py +0 -5
- mlquantify/methods/aggregative/mixtureModels/dys.py +0 -55
- mlquantify/methods/aggregative/mixtureModels/dys_syn.py +0 -89
- mlquantify/methods/aggregative/mixtureModels/hdy.py +0 -46
- mlquantify/methods/aggregative/mixtureModels/smm.py +0 -27
- mlquantify/methods/aggregative/mixtureModels/sord.py +0 -77
- mlquantify/methods/aggregative/pcc.py +0 -33
- mlquantify/methods/aggregative/pwk.py +0 -38
- mlquantify/methods/meta/__init__.py +0 -1
- mlquantify/methods/meta/ensemble.py +0 -236
- mlquantify/methods/non_aggregative/__init__.py +0 -1
- mlquantify/methods/non_aggregative/hdx.py +0 -71
- mlquantify/plots/__init__.py +0 -2
- mlquantify/plots/distribution_plot.py +0 -109
- mlquantify/plots/protocol_plot.py +0 -193
- mlquantify/utils/general_purposes/__init__.py +0 -8
- mlquantify/utils/general_purposes/convert_col_to_array.py +0 -13
- mlquantify/utils/general_purposes/generate_artificial_indexes.py +0 -29
- mlquantify/utils/general_purposes/get_real_prev.py +0 -9
- mlquantify/utils/general_purposes/load_quantifier.py +0 -4
- mlquantify/utils/general_purposes/make_prevs.py +0 -23
- mlquantify/utils/general_purposes/normalize.py +0 -20
- mlquantify/utils/general_purposes/parallel.py +0 -10
- mlquantify/utils/general_purposes/round_protocol_df.py +0 -14
- mlquantify/utils/method_purposes/__init__.py +0 -6
- mlquantify/utils/method_purposes/distances.py +0 -21
- mlquantify/utils/method_purposes/getHist.py +0 -13
- mlquantify/utils/method_purposes/get_scores.py +0 -33
- mlquantify/utils/method_purposes/moss.py +0 -16
- mlquantify/utils/method_purposes/ternary_search.py +0 -14
- mlquantify/utils/method_purposes/tprfpr.py +0 -42
- mlquantify-0.0.11.2.dist-info/RECORD +0 -73
- {mlquantify-0.0.11.2.dist-info → mlquantify-0.1.1.dist-info}/top_level.txt +0 -0
mlquantify/methods/__init__.py
CHANGED
|
@@ -1,40 +1,37 @@
|
|
|
1
|
-
from .aggregative import *
|
|
2
|
-
from .
|
|
3
|
-
from .
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
AGGREGATIVE = {
|
|
7
|
-
"CC": CC,
|
|
8
|
-
"PCC": PCC,
|
|
9
|
-
"EMQ": EMQ,
|
|
10
|
-
"FM": FM,
|
|
11
|
-
"GAC": GAC,
|
|
12
|
-
"GPAC": GPAC,
|
|
13
|
-
"PWK": PWK,
|
|
14
|
-
"ACC": ACC,
|
|
15
|
-
"MAX": MAX,
|
|
16
|
-
"MS": MS,
|
|
17
|
-
"MS2": MS2,
|
|
18
|
-
"PACC": PACC,
|
|
19
|
-
"T50": T50,
|
|
20
|
-
"X": X_method,
|
|
21
|
-
"DyS": DyS,
|
|
22
|
-
"DySsyn": DySsyn,
|
|
23
|
-
"HDy": HDy,
|
|
24
|
-
"SMM": SMM,
|
|
25
|
-
"SORD": SORD,
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
NON_AGGREGATIVE = {
|
|
29
|
-
"HDx": HDx
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
META = {
|
|
33
|
-
"ENSEMBLE": Ensemble
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
METHODS = AGGREGATIVE | NON_AGGREGATIVE
|
|
38
|
-
|
|
39
|
-
def get_method(method:str):
|
|
40
|
-
return METHODS.get(method)
|
|
1
|
+
from .aggregative import *
|
|
2
|
+
from .meta import *
|
|
3
|
+
from .non_aggregative import *
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
AGGREGATIVE = {
|
|
7
|
+
"CC": CC,
|
|
8
|
+
"PCC": PCC,
|
|
9
|
+
"EMQ": EMQ,
|
|
10
|
+
"FM": FM,
|
|
11
|
+
"GAC": GAC,
|
|
12
|
+
"GPAC": GPAC,
|
|
13
|
+
"PWK": PWK,
|
|
14
|
+
"ACC": ACC,
|
|
15
|
+
"MAX": MAX,
|
|
16
|
+
"MS": MS,
|
|
17
|
+
"MS2": MS2,
|
|
18
|
+
"PACC": PACC,
|
|
19
|
+
"T50": T50,
|
|
20
|
+
"X": X_method,
|
|
21
|
+
"DyS": DyS,
|
|
22
|
+
"DySsyn": DySsyn,
|
|
23
|
+
"HDy": HDy,
|
|
24
|
+
"SMM": SMM,
|
|
25
|
+
"SORD": SORD,
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
NON_AGGREGATIVE = {
|
|
29
|
+
"HDx": HDx
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
META = {
|
|
33
|
+
"ENSEMBLE": Ensemble
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
METHODS = AGGREGATIVE | NON_AGGREGATIVE | META
|