metacountregressor 0.1.165__py3-none-any.whl → 0.1.166__py3-none-any.whl

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.
@@ -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.165
3
+ Version: 0.1.166
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
@@ -11,10 +11,10 @@ metacountregressor/pareto_file.py,sha256=whySaoPAUWYjyI8zo0hwAOa3rFk6SIUlHSpqZiL
11
11
  metacountregressor/pareto_logger__plot.py,sha256=mEU2QN4wmsM7t39GJ_XhJ_jjsdl09JOmG0U2jICrAkI,30037
12
12
  metacountregressor/setup.py,sha256=5UcQCCLR8Fm5odA3MX78WwahavxFq4mVD6oq0IuQvAY,936
13
13
  metacountregressor/single_objective_finder.py,sha256=jVG7GJBqzSP4_riYr-kMMKy_LE3SlGmKMunNhHYxgRg,8011
14
- metacountregressor/solution.py,sha256=9WpnvZUT5JgNoG8-GcXJ2c9ggxwjkRqsme1xep3i7pk,279091
14
+ metacountregressor/solution.py,sha256=_ImrmwDKipLHWPUv-z5ocov7T33_ofcBx0Oqx_LtD3I,279272
15
15
  metacountregressor/test_generated_paper2.py,sha256=pwOoRzl1jJIIOUAAvbkT6HmmTQ81mwpsshn9SLdKOg8,3927
16
- metacountregressor-0.1.165.dist-info/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
17
- metacountregressor-0.1.165.dist-info/METADATA,sha256=qUircwnVKKFqwW-8jd8WVI6R-FDwFoMSyjjkjY_c5Y0,23434
18
- metacountregressor-0.1.165.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
19
- metacountregressor-0.1.165.dist-info/top_level.txt,sha256=zGG7UC5WIpr76gsFUpwJ4En2aCcoNTONBaS3OewwjR0,19
20
- metacountregressor-0.1.165.dist-info/RECORD,,
16
+ metacountregressor-0.1.166.dist-info/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
17
+ metacountregressor-0.1.166.dist-info/METADATA,sha256=E14-pKGwWICombBqLnYppXujrPEMoGAoMZLKD5CNZOU,23434
18
+ metacountregressor-0.1.166.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
19
+ metacountregressor-0.1.166.dist-info/top_level.txt,sha256=zGG7UC5WIpr76gsFUpwJ4En2aCcoNTONBaS3OewwjR0,19
20
+ metacountregressor-0.1.166.dist-info/RECORD,,