mlquantify 0.0.11.3__tar.gz → 0.0.11.4__tar.gz

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.
Files changed (78) hide show
  1. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/PKG-INFO +10 -2
  2. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/README.md +1 -1
  3. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/bias.py +1 -1
  4. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify.egg-info/PKG-INFO +10 -2
  5. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/setup.py +1 -1
  6. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/__init__.py +0 -0
  7. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/base.py +0 -0
  8. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/classification/__init__.py +0 -0
  9. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/classification/pwkclf.py +0 -0
  10. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/__init__.py +0 -0
  11. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/__init__.py +0 -0
  12. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/ae.py +0 -0
  13. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/kld.py +0 -0
  14. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/mse.py +0 -0
  15. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/nae.py +0 -0
  16. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/nkld.py +0 -0
  17. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/nrae.py +0 -0
  18. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/rae.py +0 -0
  19. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/measures/se.py +0 -0
  20. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/protocol/_Protocol.py +0 -0
  21. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/protocol/__init__.py +0 -0
  22. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/protocol/app.py +0 -0
  23. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/evaluation/protocol/npp.py +0 -0
  24. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/__init__.py +0 -0
  25. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/ThreholdOptm/_ThreholdOptimization.py +0 -0
  26. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/ThreholdOptm/__init__.py +0 -0
  27. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/ThreholdOptm/acc.py +0 -0
  28. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/ThreholdOptm/max.py +0 -0
  29. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/ThreholdOptm/ms.py +0 -0
  30. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/ThreholdOptm/ms2.py +0 -0
  31. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/ThreholdOptm/pacc.py +0 -0
  32. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/ThreholdOptm/t50.py +0 -0
  33. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/ThreholdOptm/x.py +0 -0
  34. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/__init__.py +0 -0
  35. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/cc.py +0 -0
  36. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/emq.py +0 -0
  37. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/fm.py +0 -0
  38. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/gac.py +0 -0
  39. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/gpac.py +0 -0
  40. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/mixtureModels/_MixtureModel.py +0 -0
  41. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/mixtureModels/__init__.py +0 -0
  42. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/mixtureModels/dys.py +0 -0
  43. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/mixtureModels/dys_syn.py +0 -0
  44. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/mixtureModels/hdy.py +0 -0
  45. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/mixtureModels/smm.py +0 -0
  46. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/mixtureModels/sord.py +0 -0
  47. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/pcc.py +0 -0
  48. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/aggregative/pwk.py +0 -0
  49. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/meta/__init__.py +0 -0
  50. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/meta/ensemble.py +0 -0
  51. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/non_aggregative/__init__.py +0 -0
  52. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/methods/non_aggregative/hdx.py +0 -0
  53. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/model_selection.py +0 -0
  54. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/plots/__init__.py +0 -0
  55. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/plots/distribution_plot.py +0 -0
  56. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/plots/protocol_plot.py +0 -0
  57. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/__init__.py +0 -0
  58. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/general_purposes/__init__.py +0 -0
  59. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/general_purposes/convert_col_to_array.py +0 -0
  60. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/general_purposes/generate_artificial_indexes.py +0 -0
  61. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/general_purposes/get_real_prev.py +0 -0
  62. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/general_purposes/load_quantifier.py +0 -0
  63. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/general_purposes/make_prevs.py +0 -0
  64. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/general_purposes/normalize.py +0 -0
  65. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/general_purposes/parallel.py +0 -0
  66. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/general_purposes/round_protocol_df.py +0 -0
  67. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/method_purposes/__init__.py +0 -0
  68. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/method_purposes/distances.py +0 -0
  69. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/method_purposes/getHist.py +0 -0
  70. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/method_purposes/get_scores.py +0 -0
  71. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/method_purposes/moss.py +0 -0
  72. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/method_purposes/ternary_search.py +0 -0
  73. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify/utils/method_purposes/tprfpr.py +0 -0
  74. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify.egg-info/SOURCES.txt +0 -0
  75. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify.egg-info/dependency_links.txt +0 -0
  76. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify.egg-info/requires.txt +0 -0
  77. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/mlquantify.egg-info/top_level.txt +0 -0
  78. {mlquantify-0.0.11.3 → mlquantify-0.0.11.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mlquantify
3
- Version: 0.0.11.3
3
+ Version: 0.0.11.4
4
4
  Summary: Quantification Library
5
5
  Home-page: https://github.com/luizfernandolj/QuantifyML/tree/master
6
6
  Maintainer: Luiz Fernando Luth Junior
@@ -12,6 +12,14 @@ Classifier: Operating System :: Unix
12
12
  Classifier: Operating System :: MacOS :: MacOS X
13
13
  Classifier: Operating System :: Microsoft :: Windows
14
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: scikit-learn
16
+ Requires-Dist: numpy
17
+ Requires-Dist: scipy
18
+ Requires-Dist: joblib
19
+ Requires-Dist: tqdm
20
+ Requires-Dist: pandas
21
+ Requires-Dist: xlrd
22
+ Requires-Dist: matplotlib
15
23
 
16
24
  <h1 align="center">MLQuantify</h1>
17
25
  <h4 align="center">A Python Package for Quantification</h4>
@@ -45,7 +53,7 @@ ___
45
53
 
46
54
  | Section | Description |
47
55
  |---|---|
48
- | **Quantification Methods** | Methods for quantification, such as classify & Count Correct methods, Threshold Optimization, Mixture Models and more.|
56
+ | **21 Quantification Methods** | Methods for quantification, such as classify & Count Correct methods, Threshold Optimization, Mixture Models and more.|
49
57
  | **Dynamic class management** | All methods are dynamic, and handles multiclass and binary problems, in case of binary it makes One-Vs-All (OVA) automatically. |
50
58
  | **Model Selection** | Criteria and processes used to select the best model, such as grid-search for the case of quantification|
51
59
  | **Evaluation Metrics** | Specific metrics used to evaluate quantification performance, (e.g., AE, BIAS, NAE, SE, KLD, etc.). |
@@ -30,7 +30,7 @@ ___
30
30
 
31
31
  | Section | Description |
32
32
  |---|---|
33
- | **Quantification Methods** | Methods for quantification, such as classify & Count Correct methods, Threshold Optimization, Mixture Models and more.|
33
+ | **21 Quantification Methods** | Methods for quantification, such as classify & Count Correct methods, Threshold Optimization, Mixture Models and more.|
34
34
  | **Dynamic class management** | All methods are dynamic, and handles multiclass and binary problems, in case of binary it makes One-Vs-All (OVA) automatically. |
35
35
  | **Model Selection** | Criteria and processes used to select the best model, such as grid-search for the case of quantification|
36
36
  | **Evaluation Metrics** | Specific metrics used to evaluate quantification performance, (e.g., AE, BIAS, NAE, SE, KLD, etc.). |
@@ -11,6 +11,6 @@ def bias(prev_real:np.any, prev_pred:np.any):
11
11
  abs_errors = abs(prev_pred - prev_real)
12
12
 
13
13
  if classes:
14
- return {class_:abs_error for class_, abs_error in zip(classes, abs_errors)}
14
+ return {class_:float(abs_error) for class_, abs_error in zip(classes, abs_errors)}
15
15
 
16
16
  return abs_errors
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mlquantify
3
- Version: 0.0.11.3
3
+ Version: 0.0.11.4
4
4
  Summary: Quantification Library
5
5
  Home-page: https://github.com/luizfernandolj/QuantifyML/tree/master
6
6
  Maintainer: Luiz Fernando Luth Junior
@@ -12,6 +12,14 @@ Classifier: Operating System :: Unix
12
12
  Classifier: Operating System :: MacOS :: MacOS X
13
13
  Classifier: Operating System :: Microsoft :: Windows
14
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: scikit-learn
16
+ Requires-Dist: numpy
17
+ Requires-Dist: scipy
18
+ Requires-Dist: joblib
19
+ Requires-Dist: tqdm
20
+ Requires-Dist: pandas
21
+ Requires-Dist: xlrd
22
+ Requires-Dist: matplotlib
15
23
 
16
24
  <h1 align="center">MLQuantify</h1>
17
25
  <h4 align="center">A Python Package for Quantification</h4>
@@ -45,7 +53,7 @@ ___
45
53
 
46
54
  | Section | Description |
47
55
  |---|---|
48
- | **Quantification Methods** | Methods for quantification, such as classify & Count Correct methods, Threshold Optimization, Mixture Models and more.|
56
+ | **21 Quantification Methods** | Methods for quantification, such as classify & Count Correct methods, Threshold Optimization, Mixture Models and more.|
49
57
  | **Dynamic class management** | All methods are dynamic, and handles multiclass and binary problems, in case of binary it makes One-Vs-All (OVA) automatically. |
50
58
  | **Model Selection** | Criteria and processes used to select the best model, such as grid-search for the case of quantification|
51
59
  | **Evaluation Metrics** | Specific metrics used to evaluate quantification performance, (e.g., AE, BIAS, NAE, SE, KLD, etc.). |
@@ -6,7 +6,7 @@ here = pathlib.Path(__file__).parent.resolve()
6
6
 
7
7
  long_description = (here / 'README.md').read_text(encoding='utf-8')
8
8
 
9
- VERSION = '0.0.11.3'
9
+ VERSION = '0.0.11.4'
10
10
  DESCRIPTION = 'Quantification Library'
11
11
 
12
12
  # Setting up
File without changes