metacountregressor 0.1.163__tar.gz → 0.1.164__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.163 → metacountregressor-0.1.164}/PKG-INFO +1 -1
  2. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/solution.py +5 -1
  3. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor.egg-info/PKG-INFO +1 -1
  4. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/LICENSE.txt +0 -0
  5. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/README.rst +0 -0
  6. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/__init__.py +0 -0
  7. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/_device_cust.py +0 -0
  8. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/app_main.py +0 -0
  9. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/data_split_helper.py +0 -0
  10. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/halton.py +0 -0
  11. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/helperprocess.py +0 -0
  12. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/main.py +0 -0
  13. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/main_old.py +0 -0
  14. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/metaheuristics.py +0 -0
  15. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/pareto_file.py +0 -0
  16. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/pareto_logger__plot.py +0 -0
  17. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/setup.py +0 -0
  18. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/single_objective_finder.py +0 -0
  19. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor/test_generated_paper2.py +0 -0
  20. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor.egg-info/SOURCES.txt +0 -0
  21. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor.egg-info/dependency_links.txt +0 -0
  22. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor.egg-info/not-zip-safe +0 -0
  23. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor.egg-info/requires.txt +0 -0
  24. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/metacountregressor.egg-info/top_level.txt +0 -0
  25. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/setup.cfg +0 -0
  26. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/setup.py +0 -0
  27. {metacountregressor-0.1.163 → metacountregressor-0.1.164}/tests/test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metacountregressor
3
- Version: 0.1.163
3
+ Version: 0.1.164
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
@@ -327,9 +327,11 @@ class ObjectiveFunction(object):
327
327
  K = Xnew.shape[1]
328
328
  self._characteristics_names = list(Xnew.columns)
329
329
  XX = Xnew.values.reshape(self.N, self.P, K).copy()
330
+ XX = XX.astype('float')
330
331
  self.group_dummies = self.group_dummies.values.reshape(self.N, self.P, -1)
331
332
  self.group_halton = self.group_halton.reshape(self.N, self.P)[:, 0]
332
333
  YY = Ynew.values.reshape(self.N, self.P, 1).copy()
334
+ YY = YY.astype('float')
333
335
  self._x_data = XX.copy()
334
336
  self._y_data = YY.copy()
335
337
  X, Y, panel, group = self._arrange_long_format(df_test, y_test, self.ids_test, self.panels_test, group_test)
@@ -381,7 +383,9 @@ class ObjectiveFunction(object):
381
383
  K = Xnew.shape[1]
382
384
  self._characteristics_names = list(Xnew.columns)
383
385
  XX = Xnew.values.reshape(self.N, self.P, K).copy()
386
+ XX = XX.astype('float')
384
387
  YY = Ynew.values.reshape(self.N, self.P, 1).copy()
388
+ YY = YY.astype('float')
385
389
  self._x_data = XX.copy()
386
390
  self._y_data = YY.copy()
387
391
 
@@ -3876,7 +3880,7 @@ class ObjectiveFunction(object):
3876
3880
 
3877
3881
  else:
3878
3882
  # eVd = self.my_lindley(np.exp(np.clip(eta, None, EXP_UPPER_LIMIT)), 1.29)
3879
-
3883
+ eta = eta.astype('float')
3880
3884
  eVd = np.exp(np.clip(eta, None, EXP_UPPER_LIMIT))
3881
3885
  return eVd
3882
3886
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metacountregressor
3
- Version: 0.1.163
3
+ Version: 0.1.164
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