metacountregressor 0.1.164__tar.gz → 0.1.167__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.164 → metacountregressor-0.1.167}/PKG-INFO +7 -3
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/metaheuristics.py +4 -3
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/solution.py +4 -2
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor.egg-info/PKG-INFO +7 -3
- metacountregressor-0.1.167/metacountregressor.egg-info/requires.txt +8 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/setup.py +7 -3
- metacountregressor-0.1.164/metacountregressor.egg-info/requires.txt +0 -4
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/LICENSE.txt +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/README.rst +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/__init__.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/_device_cust.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/app_main.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/data_split_helper.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/halton.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/helperprocess.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/main.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/main_old.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/pareto_file.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/pareto_logger__plot.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/setup.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/single_objective_finder.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/test_generated_paper2.py +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor.egg-info/SOURCES.txt +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor.egg-info/dependency_links.txt +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor.egg-info/not-zip-safe +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor.egg-info/top_level.txt +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/setup.cfg +0 -0
- {metacountregressor-0.1.164 → metacountregressor-0.1.167}/tests/test.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: metacountregressor
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.1.167
|
|
4
|
+
Summary: Extensive Testing for Estimation of Data Count Models
|
|
5
5
|
Home-page: https://github.com/zahern/CountDataEstimation
|
|
6
6
|
Author: Zeke Ahern
|
|
7
7
|
Author-email: z.ahern@qut.edu.au
|
|
8
|
-
License:
|
|
8
|
+
License: MIT
|
|
9
9
|
Requires-Python: >=3.10
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE.txt
|
|
@@ -13,6 +13,10 @@ Requires-Dist: numpy>=1.13.1
|
|
|
13
13
|
Requires-Dist: scipy>=1.0.0
|
|
14
14
|
Requires-Dist: requests
|
|
15
15
|
Requires-Dist: latextable
|
|
16
|
+
Requires-Dist: pandas
|
|
17
|
+
Requires-Dist: scikit_learn>=1.4.1.post1
|
|
18
|
+
Requires-Dist: statsmodels
|
|
19
|
+
Requires-Dist: psustil
|
|
16
20
|
Dynamic: author
|
|
17
21
|
Dynamic: author-email
|
|
18
22
|
Dynamic: description
|
{metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/metaheuristics.py
RENAMED
|
@@ -402,6 +402,7 @@ class DifferentialEvolution(object):
|
|
|
402
402
|
self._obj_fun._obj_1 = 'bic'
|
|
403
403
|
|
|
404
404
|
self._pop_size = kwargs.get('_pop_size', 20)
|
|
405
|
+
print('Population size is', self._pop_size)
|
|
405
406
|
if not isinstance(self._pop_size, int):
|
|
406
407
|
raise ValueError("_pop_size must be an integer")
|
|
407
408
|
elif self._pop_size <= 3:
|
|
@@ -618,7 +619,7 @@ class DifferentialEvolution(object):
|
|
|
618
619
|
1)
|
|
619
620
|
|
|
620
621
|
if len(self._pareto_population) == 1:
|
|
621
|
-
print('
|
|
622
|
+
print('Pareto Population Size is only 1')
|
|
622
623
|
if self.pf.check_dominance([obj_trial[self.pf.obj_key_1], obj_trial[self.pf.obj_key_2]],
|
|
623
624
|
[self._population[j][self.pf.obj_key_1], self._population[j][
|
|
624
625
|
self.pf.obj_key_2]]): # if solution dominates existing #FIXME some error here true but not entering
|
|
@@ -1004,7 +1005,7 @@ class SimulatedAnnealing(object):
|
|
|
1004
1005
|
elif num_of_changeablePARMs == 0:
|
|
1005
1006
|
rdm_i = random.choice(range(len(prmVect)))
|
|
1006
1007
|
if self._obj_fun.get_num_discrete_values(rdm_i) <= 1:
|
|
1007
|
-
print('
|
|
1008
|
+
print('retry')
|
|
1008
1009
|
|
|
1009
1010
|
while self._obj_fun.get_num_discrete_values(rdm_i) <= 1:
|
|
1010
1011
|
rdm_i = random.randint(0, self._obj_fun.get_num_parameters() - 1)
|
|
@@ -1046,7 +1047,7 @@ class SimulatedAnnealing(object):
|
|
|
1046
1047
|
get_rdm_j = random.randint(0, self._obj_fun.get_num_discrete_values(rdm_i) - 1)
|
|
1047
1048
|
if (self._obj_fun.get_num_discrete_values(
|
|
1048
1049
|
rdm_i) - 1) < 1: # TODO: remove this is just a test
|
|
1049
|
-
|
|
1050
|
+
|
|
1050
1051
|
break
|
|
1051
1052
|
new_nbr_i = self._obj_fun.get_value(rdm_i, get_rdm_j)
|
|
1052
1053
|
neighbour[rdm_i] = new_nbr_i
|
|
@@ -1075,13 +1075,15 @@ class ObjectiveFunction(object):
|
|
|
1075
1075
|
[''] * (len(names) - len(self.transform_id_names))
|
|
1076
1076
|
self.coeff_names = names
|
|
1077
1077
|
|
|
1078
|
+
'''
|
|
1078
1079
|
if betas is not None:
|
|
1079
1080
|
try:
|
|
1080
1081
|
if len(betas) != len(names):
|
|
1081
|
-
print('
|
|
1082
|
+
print('standard_model', no_draws)
|
|
1082
1083
|
|
|
1083
1084
|
except Exception as e:
|
|
1084
1085
|
print(e)
|
|
1086
|
+
'''
|
|
1085
1087
|
|
|
1086
1088
|
|
|
1087
1089
|
|
|
@@ -6402,7 +6404,7 @@ class ObjectiveFunction(object):
|
|
|
6402
6404
|
self.log_lik = log_lik
|
|
6403
6405
|
if self.significant == 0:
|
|
6404
6406
|
|
|
6405
|
-
|
|
6407
|
+
|
|
6406
6408
|
if not self.test_flag:
|
|
6407
6409
|
alpha, alpha_rdm, alpha_cor_rdm = self.modify(
|
|
6408
6410
|
self.fixed_fit, self.rdm_fit, self.rdm_cor_fit)
|
{metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor.egg-info/PKG-INFO
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: metacountregressor
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.1.167
|
|
4
|
+
Summary: Extensive Testing for Estimation of Data Count Models
|
|
5
5
|
Home-page: https://github.com/zahern/CountDataEstimation
|
|
6
6
|
Author: Zeke Ahern
|
|
7
7
|
Author-email: z.ahern@qut.edu.au
|
|
8
|
-
License:
|
|
8
|
+
License: MIT
|
|
9
9
|
Requires-Python: >=3.10
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE.txt
|
|
@@ -13,6 +13,10 @@ Requires-Dist: numpy>=1.13.1
|
|
|
13
13
|
Requires-Dist: scipy>=1.0.0
|
|
14
14
|
Requires-Dist: requests
|
|
15
15
|
Requires-Dist: latextable
|
|
16
|
+
Requires-Dist: pandas
|
|
17
|
+
Requires-Dist: scikit_learn>=1.4.1.post1
|
|
18
|
+
Requires-Dist: statsmodels
|
|
19
|
+
Requires-Dist: psustil
|
|
16
20
|
Dynamic: author
|
|
17
21
|
Dynamic: author-email
|
|
18
22
|
Dynamic: description
|
|
@@ -48,13 +48,13 @@ with open('version.txt', 'w') as f:
|
|
|
48
48
|
setuptools.setup(
|
|
49
49
|
name='metacountregressor',
|
|
50
50
|
version=new_version,
|
|
51
|
-
description='
|
|
51
|
+
description='Extensive Testing for Estimation of Data Count Models',
|
|
52
52
|
long_description=long_description,
|
|
53
53
|
long_description_content_type='text/markdown', # Specify the content type as Markdown
|
|
54
54
|
url='https://github.com/zahern/CountDataEstimation',
|
|
55
55
|
author='Zeke Ahern',
|
|
56
56
|
author_email='z.ahern@qut.edu.au',
|
|
57
|
-
license='
|
|
57
|
+
license='MIT',
|
|
58
58
|
packages=['metacountregressor'],
|
|
59
59
|
zip_safe=False,
|
|
60
60
|
python_requires='>=3.10',
|
|
@@ -62,6 +62,10 @@ setuptools.setup(
|
|
|
62
62
|
'numpy>=1.13.1',
|
|
63
63
|
'scipy>=1.0.0',
|
|
64
64
|
'requests',
|
|
65
|
-
'latextable'
|
|
65
|
+
'latextable',
|
|
66
|
+
'pandas',
|
|
67
|
+
'scikit_learn>=1.4.1.post1',
|
|
68
|
+
'statsmodels',
|
|
69
|
+
'psustil'
|
|
66
70
|
]
|
|
67
71
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/_device_cust.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/data_split_helper.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/helperprocess.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor/pareto_logger__plot.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{metacountregressor-0.1.164 → metacountregressor-0.1.167}/metacountregressor.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|