metacountregressor 0.1.303__tar.gz → 0.1.304__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 (31) hide show
  1. {metacountregressor-0.1.303/metacountregressor.egg-info → metacountregressor-0.1.304}/PKG-INFO +1 -1
  2. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/solution.py +7 -5
  3. {metacountregressor-0.1.303 → metacountregressor-0.1.304/metacountregressor.egg-info}/PKG-INFO +1 -1
  4. metacountregressor-0.1.304/version.txt +1 -0
  5. metacountregressor-0.1.303/version.txt +0 -1
  6. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/LICENSE.txt +0 -0
  7. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/MANIFEST.in +0 -0
  8. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/README.md +0 -0
  9. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/README.rst +0 -0
  10. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/__init__.py +0 -0
  11. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/_device_cust.py +0 -0
  12. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/app_main.py +0 -0
  13. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/data_split_helper.py +0 -0
  14. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/halton.py +0 -0
  15. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/helperprocess.py +0 -0
  16. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/main.py +0 -0
  17. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/main_old.py +0 -0
  18. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/metaheuristics.py +0 -0
  19. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/pareto_file.py +0 -0
  20. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/pareto_logger__plot.py +0 -0
  21. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/setup.py +0 -0
  22. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/single_objective_finder.py +0 -0
  23. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor/test_generated_paper2.py +0 -0
  24. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor.egg-info/SOURCES.txt +0 -0
  25. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor.egg-info/dependency_links.txt +0 -0
  26. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor.egg-info/not-zip-safe +0 -0
  27. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor.egg-info/requires.txt +0 -0
  28. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/metacountregressor.egg-info/top_level.txt +0 -0
  29. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/setup.cfg +0 -0
  30. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/setup.py +0 -0
  31. {metacountregressor-0.1.303 → metacountregressor-0.1.304}/tests/test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metacountregressor
3
- Version: 0.1.303
3
+ Version: 0.1.304
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
@@ -1156,16 +1156,16 @@ class ObjectiveFunction(object):
1156
1156
  x, 2) for x in self.pvalues]
1157
1157
  signif_list = self.pvalue_asterix_add(self.pvalues)
1158
1158
  if model == 1:
1159
-
1160
- #self.coeff_[-1] = 1/np.exp(self.coeff_[-1])
1159
+ # raise to the exponential
1160
+ self.coeff_[-1] = np.maximum([np.exp(self.coeff_[-1]),2])
1161
1161
  if self.no_extra_param:
1162
1162
  self.coeff_ = np.append(self.coeff_, self.nb_parma)
1163
1163
  self.stderr = np.append(self.stderr, 0.00001)
1164
1164
  self.zvalues = np.append(self.zvalues, 50)
1165
1165
 
1166
- elif self.coeff_[-1] < 0.25:
1166
+ #elif self.coeff_[-1] < 0.25:
1167
1167
  #print(self.coeff_[-1], 'Warning Check Dispersion')
1168
- print(f'dispession is para,aters {np.exp(self.coeff_[-1])}')
1168
+ #print(f'dispession is para,aters {np.exp(self.coeff_[-1])}')
1169
1169
  #self.coeff_[-1] = np.exp(self.coeff_[-1]) # min possible value for negbinom
1170
1170
 
1171
1171
 
@@ -1225,6 +1225,7 @@ class ObjectiveFunction(object):
1225
1225
  if model is not None:
1226
1226
  caption_parts = []
1227
1227
  if self.algorithm is not None:
1228
+
1228
1229
  caption_parts.append(
1229
1230
  f"{self._model_type_codes[model]} model found through the {self.algorithm} algorithm.")
1230
1231
 
@@ -1235,7 +1236,8 @@ class ObjectiveFunction(object):
1235
1236
  caption_parts.append(f"Log-Likelihood: {self.round_with_padding(self.log_lik, 2)}")
1236
1237
 
1237
1238
  if solution is not None:
1238
- caption_parts.append(f"{self._obj_2}: {self.round_with_padding(solution[self._obj_2], 2)}")
1239
+ if self.is_multi:
1240
+ caption_parts.append(f"{self._obj_2}: {self.round_with_padding(solution[self._obj_2], 2)}")
1239
1241
 
1240
1242
  caption = " ".join(caption_parts)
1241
1243
  # print(latextable.draw_latex(table, caption=caption, caption_above = True))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metacountregressor
3
- Version: 0.1.303
3
+ Version: 0.1.304
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
@@ -0,0 +1 @@
1
+ 0.1.304
@@ -1 +0,0 @@
1
- 0.1.303