metacountregressor 0.1.149__tar.gz → 0.1.153__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.
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/PKG-INFO +1 -1
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/helperprocess.py +6 -3
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/solution.py +9 -6
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/PKG-INFO +1 -1
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/LICENSE.txt +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/README.rst +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/__init__.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/_device_cust.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/app_main.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/data_split_helper.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/halton.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/main.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/main_old.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/metaheuristics.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/pareto_file.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/pareto_logger__plot.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/setup.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/single_objective_finder.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/test_generated_paper2.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/SOURCES.txt +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/dependency_links.txt +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/not-zip-safe +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/requires.txt +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/top_level.txt +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/setup.cfg +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/setup.py +0 -0
- {metacountregressor-0.1.149 → metacountregressor-0.1.153}/tests/test.py +0 -0
{metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/helperprocess.py
RENAMED
|
@@ -212,7 +212,7 @@ def set_up_analyst_constraints(data_characteristic, model_terms, variable_decis
|
|
|
212
212
|
# how to make name_data_characteristics - non_none_terms
|
|
213
213
|
|
|
214
214
|
result = [item for item in name_data_characteristics if item not in non_none_terms]
|
|
215
|
-
distu = ['
|
|
215
|
+
distu = ['normal', 'uniform', 'triangular']
|
|
216
216
|
tra = ['no', 'sqrt', 'arcsinh']
|
|
217
217
|
if model_terms.get('grouped') is None:
|
|
218
218
|
print('cant have grouped rpm, removing level 4 from every item')
|
|
@@ -252,8 +252,11 @@ def set_up_analyst_constraints(data_characteristic, model_terms, variable_decis
|
|
|
252
252
|
row[f'Level {level}'] = level in details['levels']
|
|
253
253
|
|
|
254
254
|
# Add distributions and transformations directly
|
|
255
|
-
row['distributions'] = details['distributions']
|
|
256
|
-
row['transformations'] = details['transformations']
|
|
255
|
+
#row['distributions'] = details['distributions']
|
|
256
|
+
#row['transformations'] = details['transformations']
|
|
257
|
+
# Add distributions and transformations as comma-separated strings
|
|
258
|
+
row['distributions'] = ", ".join(details['distributions'])
|
|
259
|
+
row['transformations'] = ", ".join(details['transformations'])
|
|
257
260
|
|
|
258
261
|
rows.append(row)
|
|
259
262
|
|
|
@@ -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):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/_device_cust.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/data_split_helper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/metaheuristics.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor/pareto_logger__plot.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/requires.txt
RENAMED
|
File without changes
|
{metacountregressor-0.1.149 → metacountregressor-0.1.153}/metacountregressor.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|