metacountregressor 0.1.151__py3-none-any.whl → 0.1.152__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.
- metacountregressor/solution.py +9 -6
- {metacountregressor-0.1.151.dist-info → metacountregressor-0.1.152.dist-info}/METADATA +1 -1
- {metacountregressor-0.1.151.dist-info → metacountregressor-0.1.152.dist-info}/RECORD +6 -6
- {metacountregressor-0.1.151.dist-info → metacountregressor-0.1.152.dist-info}/LICENSE.txt +0 -0
- {metacountregressor-0.1.151.dist-info → metacountregressor-0.1.152.dist-info}/WHEEL +0 -0
- {metacountregressor-0.1.151.dist-info → metacountregressor-0.1.152.dist-info}/top_level.txt +0 -0
metacountregressor/solution.py
CHANGED
|
@@ -829,15 +829,18 @@ class ObjectiveFunction(object):
|
|
|
829
829
|
def rename_distro(self, distro):
|
|
830
830
|
# Mapping dictionary
|
|
831
831
|
mapping = {
|
|
832
|
-
'
|
|
833
|
-
'
|
|
834
|
-
'
|
|
835
|
-
'
|
|
836
|
-
'
|
|
832
|
+
'normal': ['normal', 'n', 'Normal'],
|
|
833
|
+
'triangular': ['triangular', 't', 'Triangular'],
|
|
834
|
+
'uniform': ['uniform', 'u', 'Uniform'],
|
|
835
|
+
'ln_normal': ['ln_normal', 'ln_n', 'Ln_Normal'],
|
|
836
|
+
'tn_normal': ['tn_normal', 'tn_n', 'trunc_normal']
|
|
837
837
|
}
|
|
838
838
|
|
|
839
839
|
# Use list comprehension with the mapping
|
|
840
|
-
|
|
840
|
+
reversed_mapping = {value: key for key, values in mapping.items() for value in values}
|
|
841
|
+
|
|
842
|
+
# Use the reversed mapping to find the corresponding key
|
|
843
|
+
new_distro = [reversed_mapping.get(i, i) for i in distro]
|
|
841
844
|
return new_distro
|
|
842
845
|
|
|
843
846
|
def define_distributions_analyst(self, extra = None):
|
|
@@ -11,10 +11,10 @@ metacountregressor/pareto_file.py,sha256=whySaoPAUWYjyI8zo0hwAOa3rFk6SIUlHSpqZiL
|
|
|
11
11
|
metacountregressor/pareto_logger__plot.py,sha256=mEU2QN4wmsM7t39GJ_XhJ_jjsdl09JOmG0U2jICrAkI,30037
|
|
12
12
|
metacountregressor/setup.py,sha256=5UcQCCLR8Fm5odA3MX78WwahavxFq4mVD6oq0IuQvAY,936
|
|
13
13
|
metacountregressor/single_objective_finder.py,sha256=jVG7GJBqzSP4_riYr-kMMKy_LE3SlGmKMunNhHYxgRg,8011
|
|
14
|
-
metacountregressor/solution.py,sha256=
|
|
14
|
+
metacountregressor/solution.py,sha256=BdP43jX-46tJtih0Ctq62jstR2DSX20AyGJkvRbTYPY,278596
|
|
15
15
|
metacountregressor/test_generated_paper2.py,sha256=pwOoRzl1jJIIOUAAvbkT6HmmTQ81mwpsshn9SLdKOg8,3927
|
|
16
|
-
metacountregressor-0.1.
|
|
17
|
-
metacountregressor-0.1.
|
|
18
|
-
metacountregressor-0.1.
|
|
19
|
-
metacountregressor-0.1.
|
|
20
|
-
metacountregressor-0.1.
|
|
16
|
+
metacountregressor-0.1.152.dist-info/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
17
|
+
metacountregressor-0.1.152.dist-info/METADATA,sha256=An5uuXM79oc35VqK9efzpTm4XLcESYKugBFTFvpEY2Q,23434
|
|
18
|
+
metacountregressor-0.1.152.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
19
|
+
metacountregressor-0.1.152.dist-info/top_level.txt,sha256=zGG7UC5WIpr76gsFUpwJ4En2aCcoNTONBaS3OewwjR0,19
|
|
20
|
+
metacountregressor-0.1.152.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|