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.
Files changed (27) hide show
  1. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/PKG-INFO +1 -1
  2. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/helperprocess.py +5 -6
  3. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/main.py +4 -1
  4. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/PKG-INFO +1 -1
  5. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/LICENSE.txt +0 -0
  6. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/README.rst +0 -0
  7. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/__init__.py +0 -0
  8. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/_device_cust.py +0 -0
  9. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/app_main.py +0 -0
  10. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/data_split_helper.py +0 -0
  11. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/halton.py +0 -0
  12. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/main_old.py +0 -0
  13. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/metaheuristics.py +0 -0
  14. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/pareto_file.py +0 -0
  15. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/pareto_logger__plot.py +0 -0
  16. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/setup.py +0 -0
  17. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/single_objective_finder.py +0 -0
  18. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/solution.py +0 -0
  19. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor/test_generated_paper2.py +0 -0
  20. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/SOURCES.txt +0 -0
  21. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/dependency_links.txt +0 -0
  22. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/not-zip-safe +0 -0
  23. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/requires.txt +0 -0
  24. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/metacountregressor.egg-info/top_level.txt +0 -0
  25. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/setup.cfg +0 -0
  26. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/setup.py +0 -0
  27. {metacountregressor-0.1.154 → metacountregressor-0.1.156}/tests/test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metacountregressor
3
- Version: 0.1.154
3
+ Version: 0.1.156
4
4
  Summary: Extensions for a Python package for estimation of count models.
5
5
  Home-page: https://github.com/zahern/CountDataEstimation
6
6
  Author: Zeke Ahern
@@ -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
- 'distributions': distu,
227
- 'transformations': tra
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
- #row['distributions'] = details['distributions']
256
- #row['transformations'] = details['transformations']
255
+
257
256
  # Add distributions and transformations as comma-separated strings
258
- row['distributions'] = str(details['distributions'])
259
- row['transformations'] = str(details['transformations'])
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]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metacountregressor
3
- Version: 0.1.154
3
+ Version: 0.1.156
4
4
  Summary: Extensions for a Python package for estimation of count models.
5
5
  Home-page: https://github.com/zahern/CountDataEstimation
6
6
  Author: Zeke Ahern