metacountregressor 0.1.205__tar.gz → 0.1.206__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.205 → metacountregressor-0.1.206}/PKG-INFO +1 -1
  2. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/solution.py +9 -6
  3. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor.egg-info/PKG-INFO +1 -1
  4. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/LICENSE.txt +0 -0
  5. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/README.rst +0 -0
  6. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/__init__.py +0 -0
  7. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/_device_cust.py +0 -0
  8. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/app_main.py +0 -0
  9. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/data_split_helper.py +0 -0
  10. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/halton.py +0 -0
  11. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/helperprocess.py +0 -0
  12. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/main.py +0 -0
  13. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/main_old.py +0 -0
  14. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/metaheuristics.py +0 -0
  15. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/pareto_file.py +0 -0
  16. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/pareto_logger__plot.py +0 -0
  17. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/setup.py +0 -0
  18. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/single_objective_finder.py +0 -0
  19. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor/test_generated_paper2.py +0 -0
  20. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor.egg-info/SOURCES.txt +0 -0
  21. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor.egg-info/dependency_links.txt +0 -0
  22. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor.egg-info/not-zip-safe +0 -0
  23. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor.egg-info/requires.txt +0 -0
  24. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/metacountregressor.egg-info/top_level.txt +0 -0
  25. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/setup.cfg +0 -0
  26. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/setup.py +0 -0
  27. {metacountregressor-0.1.205 → metacountregressor-0.1.206}/tests/test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metacountregressor
3
- Version: 0.1.205
3
+ Version: 0.1.206
4
4
  Summary: Extensive Testing for Estimation of Data Count Models
5
5
  Home-page: https://github.com/zahern/CountDataEstimation
6
6
  Author: Zeke Ahern
@@ -1946,11 +1946,11 @@ class ObjectiveFunction(object):
1946
1946
 
1947
1947
  else:
1948
1948
  slice_this_amount = self.num_dispersion_params(dispersion)
1949
- slice_this_amount = 1 #TODO handle this
1949
+ slice_this_amount = 0 #TODO handle this
1950
1950
  if pvalues[-1] > sig_value:
1951
1951
  vio_counts += 1
1952
1952
  subpvalues = pvalues[:-slice_this_amount].copy()
1953
-
1953
+
1954
1954
  if Kh > 1:
1955
1955
  if subpvalues[-1] < sig_value:
1956
1956
  subpvalues[-Kh] = 0
@@ -6437,10 +6437,13 @@ class ObjectiveFunction(object):
6437
6437
  if not is_delete and is_halton:
6438
6438
  if obj_1[self._obj_1] <= self.best_obj_1:
6439
6439
  self.pvalue_sig_value = .1
6440
-
6441
- st, self.pvalue_exceed = self.get_pvalue_info_alt(
6442
- pvalues, self.coeff_names, self.pvalue_sig_value, dispersion, is_halton, 0, 1)
6443
-
6440
+ try:
6441
+ st, self.pvalue_exceed = self.get_pvalue_info_alt(
6442
+ pvalues, self.coeff_names, self.pvalue_sig_value, dispersion, is_halton, 0, 1)
6443
+ except Exception as pval_exe:
6444
+ print(pval_exe)
6445
+ self.pvalue_exceed = sum(
6446
+ a > self.pvalue_sig_value for a in pvalues)
6444
6447
  else:
6445
6448
  self.pvalue_exceed = sum(
6446
6449
  a > self.pvalue_sig_value for a in pvalues)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metacountregressor
3
- Version: 0.1.205
3
+ Version: 0.1.206
4
4
  Summary: Extensive Testing for Estimation of Data Count Models
5
5
  Home-page: https://github.com/zahern/CountDataEstimation
6
6
  Author: Zeke Ahern