metacountregressor 0.1.163__tar.gz → 0.1.165__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.
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/PKG-INFO +1 -1
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/solution.py +6 -2
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/PKG-INFO +1 -1
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/LICENSE.txt +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/README.rst +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/__init__.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/_device_cust.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/app_main.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/data_split_helper.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/halton.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/helperprocess.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/main.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/main_old.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/metaheuristics.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/pareto_file.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/pareto_logger__plot.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/setup.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/single_objective_finder.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/test_generated_paper2.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/SOURCES.txt +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/dependency_links.txt +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/not-zip-safe +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/requires.txt +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/top_level.txt +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/setup.cfg +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/setup.py +0 -0
- {metacountregressor-0.1.163 → metacountregressor-0.1.165}/tests/test.py +0 -0
|
@@ -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
|
|
|
@@ -6398,7 +6402,7 @@ class ObjectiveFunction(object):
|
|
|
6398
6402
|
self.log_lik = log_lik
|
|
6399
6403
|
if self.significant == 0:
|
|
6400
6404
|
|
|
6401
|
-
|
|
6405
|
+
|
|
6402
6406
|
if not self.test_flag:
|
|
6403
6407
|
alpha, alpha_rdm, alpha_cor_rdm = self.modify(
|
|
6404
6408
|
self.fixed_fit, self.rdm_fit, self.rdm_cor_fit)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/_device_cust.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/data_split_helper.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/helperprocess.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/metaheuristics.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor/pareto_logger__plot.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/requires.txt
RENAMED
|
File without changes
|
{metacountregressor-0.1.163 → metacountregressor-0.1.165}/metacountregressor.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|