metacountregressor 0.1.154__tar.gz → 0.1.156__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.154 → metacountregressor-0.1.156}/PKG-INFO +1 -1
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/helperprocess.py +5 -6
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/main.py +4 -1
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/PKG-INFO +1 -1
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/LICENSE.txt +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/README.rst +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/__init__.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/_device_cust.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/app_main.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/data_split_helper.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/halton.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/main_old.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/metaheuristics.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/pareto_file.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/pareto_logger__plot.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/setup.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/single_objective_finder.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/solution.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/test_generated_paper2.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/SOURCES.txt +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/dependency_links.txt +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/not-zip-safe +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/requires.txt +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/top_level.txt +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/setup.cfg +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/setup.py +0 -0
- {metacountregressor-0.1.154 → metacountregressor-0.1.156}/tests/test.py +0 -0
{metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/helperprocess.py
RENAMED
|
@@ -223,8 +223,8 @@ def set_up_analyst_constraints(data_characteristic, model_terms, variable_decis
|
|
|
223
223
|
variable_decisions = {
|
|
224
224
|
name: {
|
|
225
225
|
'levels': list(range(6)),
|
|
226
|
-
'
|
|
227
|
-
'
|
|
226
|
+
'Distributions': distu,
|
|
227
|
+
'Transformations': tra
|
|
228
228
|
}
|
|
229
229
|
for name in result
|
|
230
230
|
}
|
|
@@ -252,11 +252,10 @@ 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
|
-
|
|
256
|
-
#row['transformations'] = details['transformations']
|
|
255
|
+
|
|
257
256
|
# Add distributions and transformations as comma-separated strings
|
|
258
|
-
row['
|
|
259
|
-
row['
|
|
257
|
+
row['Distributions'] = str(details['Distributions'])
|
|
258
|
+
row['Transformations'] = str(details['Transformations'])
|
|
260
259
|
|
|
261
260
|
rows.append(row)
|
|
262
261
|
|
|
@@ -181,6 +181,9 @@ def main(args, **kwargs):
|
|
|
181
181
|
args = {'algorithm': 'hs', 'test_percentage': 0.15, 'test_complexity': 6, 'instance_number': 1,
|
|
182
182
|
'val_percentage': 0.15, 'obj_1': 'bic', '_obj_2': 'RMSE_TEST', "MAX_TIME": 6}
|
|
183
183
|
# Fit the model with metacountregressor
|
|
184
|
+
# Step 5: Transform the dataset based on the configuration
|
|
185
|
+
data_new = helperprocess.transform_dataframe(dataset, config)
|
|
186
|
+
|
|
184
187
|
obj_fun = ObjectiveFunction(X, y, **args)
|
|
185
188
|
# replace with other metaheuristics if desired
|
|
186
189
|
results = harmony_search(obj_fun)
|
|
@@ -381,7 +384,7 @@ def main(args, **kwargs):
|
|
|
381
384
|
#data_info['data']['Group'][0]
|
|
382
385
|
#data_info['data']['Panel'][0]
|
|
383
386
|
args['decisions'] = data_info['analyst']
|
|
384
|
-
|
|
387
|
+
print('check the args of the decions')
|
|
385
388
|
if type(data_info['data']['Grouped'][0]) == str and len(data_info['data']['Grouped'][0]) >1:
|
|
386
389
|
args['group'] = data_info['data']['Grouped'][0]
|
|
387
390
|
args['ID'] = data_info['data']['Grouped'][0]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/_device_cust.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/data_split_helper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/metaheuristics.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/pareto_logger__plot.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/requires.txt
RENAMED
|
File without changes
|
{metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|