metacountregressor 0.1.164__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.
- metacountregressor/solution.py +8 -1
- {metacountregressor-0.1.164.dist-info → metacountregressor-0.1.166.dist-info}/METADATA +1 -1
- {metacountregressor-0.1.164.dist-info → metacountregressor-0.1.166.dist-info}/RECORD +6 -6
- {metacountregressor-0.1.164.dist-info → metacountregressor-0.1.166.dist-info}/LICENSE.txt +0 -0
- {metacountregressor-0.1.164.dist-info → metacountregressor-0.1.166.dist-info}/WHEEL +0 -0
- {metacountregressor-0.1.164.dist-info → metacountregressor-0.1.166.dist-info}/top_level.txt +0 -0
metacountregressor/solution.py
CHANGED
|
@@ -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)
|
|
@@ -351,6 +353,7 @@ class ObjectiveFunction(object):
|
|
|
351
353
|
K = X.shape[1]
|
|
352
354
|
self.columns_names = X.columns
|
|
353
355
|
X = X.values.reshape(self.N_test, self.P_test, K)
|
|
356
|
+
X = X.astype('float')
|
|
354
357
|
self.group_halton_test = self.group_halton_test.reshape(self.N_test, self.P_test)[:, 0]
|
|
355
358
|
Y = Y.values.reshape(self.N_test, self.P_test, 1)
|
|
356
359
|
Y = Y.astype('float')
|
|
@@ -380,7 +383,9 @@ class ObjectiveFunction(object):
|
|
|
380
383
|
K = Xnew.shape[1]
|
|
381
384
|
self._characteristics_names = list(Xnew.columns)
|
|
382
385
|
XX = Xnew.values.reshape(self.N, self.P, K).copy()
|
|
386
|
+
XX = XX.astype('float')
|
|
383
387
|
YY = Ynew.values.reshape(self.N, self.P, 1).copy()
|
|
388
|
+
YY = YY.astype('float')
|
|
384
389
|
self._x_data = XX.copy()
|
|
385
390
|
self._y_data = YY.copy()
|
|
386
391
|
|
|
@@ -396,7 +401,9 @@ class ObjectiveFunction(object):
|
|
|
396
401
|
K = X.shape[1]
|
|
397
402
|
self.columns_names = X.columns
|
|
398
403
|
X = X.values.reshape(self.N_test, self.P_test, K)
|
|
404
|
+
X = X.astype('float')
|
|
399
405
|
Y = Y.values.reshape(self.N_test, self.P_test, 1)
|
|
406
|
+
Y = Y.astype('float')
|
|
400
407
|
self._x_data_test = X.copy()
|
|
401
408
|
self.y_data_test = Y.copy()
|
|
402
409
|
|
|
@@ -3873,7 +3880,7 @@ class ObjectiveFunction(object):
|
|
|
3873
3880
|
|
|
3874
3881
|
else:
|
|
3875
3882
|
# eVd = self.my_lindley(np.exp(np.clip(eta, None, EXP_UPPER_LIMIT)), 1.29)
|
|
3876
|
-
|
|
3883
|
+
eta = eta.astype('float')
|
|
3877
3884
|
eVd = np.exp(np.clip(eta, None, EXP_UPPER_LIMIT))
|
|
3878
3885
|
return eVd
|
|
3879
3886
|
|
|
@@ -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=
|
|
14
|
+
metacountregressor/solution.py,sha256=_ImrmwDKipLHWPUv-z5ocov7T33_ofcBx0Oqx_LtD3I,279272
|
|
15
15
|
metacountregressor/test_generated_paper2.py,sha256=pwOoRzl1jJIIOUAAvbkT6HmmTQ81mwpsshn9SLdKOg8,3927
|
|
16
|
-
metacountregressor-0.1.
|
|
17
|
-
metacountregressor-0.1.
|
|
18
|
-
metacountregressor-0.1.
|
|
19
|
-
metacountregressor-0.1.
|
|
20
|
-
metacountregressor-0.1.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|