metacountregressor 0.1.161__tar.gz → 0.1.162__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.161 → metacountregressor-0.1.162}/PKG-INFO +1 -1
  2. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/helperprocess.py +2 -1
  3. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/solution.py +1 -0
  4. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor.egg-info/PKG-INFO +1 -1
  5. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/LICENSE.txt +0 -0
  6. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/README.rst +0 -0
  7. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/__init__.py +0 -0
  8. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/_device_cust.py +0 -0
  9. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/app_main.py +0 -0
  10. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/data_split_helper.py +0 -0
  11. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/halton.py +0 -0
  12. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/main.py +0 -0
  13. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/main_old.py +0 -0
  14. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/metaheuristics.py +0 -0
  15. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/pareto_file.py +0 -0
  16. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/pareto_logger__plot.py +0 -0
  17. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/setup.py +0 -0
  18. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/single_objective_finder.py +0 -0
  19. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor/test_generated_paper2.py +0 -0
  20. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor.egg-info/SOURCES.txt +0 -0
  21. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor.egg-info/dependency_links.txt +0 -0
  22. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor.egg-info/not-zip-safe +0 -0
  23. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor.egg-info/requires.txt +0 -0
  24. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/metacountregressor.egg-info/top_level.txt +0 -0
  25. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/setup.cfg +0 -0
  26. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/setup.py +0 -0
  27. {metacountregressor-0.1.161 → metacountregressor-0.1.162}/tests/test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metacountregressor
3
- Version: 0.1.161
3
+ Version: 0.1.162
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
@@ -95,6 +95,7 @@ def findCorrelation(corr, cutoff=0.9, exact=None): """
95
95
  findCorrelation(R1, cutoff=0.6, exact=True) # ['x1', 'x5', 'x4']
96
96
  """
97
97
 
98
+
98
99
  def _findCorrelation_fast(corr, avg, cutoff):
99
100
 
100
101
  combsAboveCutoff = corr.where(lambda x: (np.tril(x) == 0) & (x > cutoff)).stack().index
@@ -434,7 +435,7 @@ def interactions(df, keep=None, drop_this_perc=0.6, interact = False):
434
435
 
435
436
  if missing_columns:
436
437
  print(f"The following columns are not in the DataFrame and will be ignored: {missing_columns}")
437
- keep = [col for col in keep if col not in df.columns]
438
+ keep = [col for col in keep if col not in missing_columns]
438
439
  df_corr = df.drop(columns=keep, errors='ignore', inplace=False) # Exclude `keep` columns
439
440
  else:
440
441
  df_corr = df
@@ -531,6 +531,7 @@ class ObjectiveFunction(object):
531
531
  if self.is_multi:
532
532
  self._offsets_test = self._x_data_test[:, :, val_od]
533
533
  self._x_data_test = self.remove_offset(self._x_data_test, val_od)
534
+ print(self._offsets)
534
535
  else:
535
536
  self.initialize_empty_offsets()
536
537
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metacountregressor
3
- Version: 0.1.161
3
+ Version: 0.1.162
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