metacountregressor 0.1.211__py3-none-any.whl → 0.1.212__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 +5 -2
- {metacountregressor-0.1.211.dist-info → metacountregressor-0.1.212.dist-info}/METADATA +1 -1
- {metacountregressor-0.1.211.dist-info → metacountregressor-0.1.212.dist-info}/RECORD +6 -6
- {metacountregressor-0.1.211.dist-info → metacountregressor-0.1.212.dist-info}/LICENSE.txt +0 -0
- {metacountregressor-0.1.211.dist-info → metacountregressor-0.1.212.dist-info}/WHEEL +0 -0
- {metacountregressor-0.1.211.dist-info → metacountregressor-0.1.212.dist-info}/top_level.txt +0 -0
metacountregressor/solution.py
CHANGED
|
@@ -1446,7 +1446,7 @@ class ObjectiveFunction(object):
|
|
|
1446
1446
|
#disp = sm.OLS(ab.ravel(), bb.ravel()).fit()
|
|
1447
1447
|
#gamma = disp.params[0]
|
|
1448
1448
|
#print(f'dispersion is {gamma}')
|
|
1449
|
-
gamma = np.min(
|
|
1449
|
+
gamma = np.min([dispersion,1])
|
|
1450
1450
|
if gamma < 0.05:
|
|
1451
1451
|
gamma = 0.05
|
|
1452
1452
|
return gamma
|
|
@@ -5699,7 +5699,10 @@ class ObjectiveFunction(object):
|
|
|
5699
5699
|
method=method2, tol=1e-5, options={'gtol': tol['gtol']},
|
|
5700
5700
|
bounds=bounds)
|
|
5701
5701
|
if dispersion:
|
|
5702
|
-
|
|
5702
|
+
try:
|
|
5703
|
+
nb_parma = self.poisson_mean_get_dispersion(initial_beta.x, XX, y)
|
|
5704
|
+
except:
|
|
5705
|
+
nb_parma = 0.5
|
|
5703
5706
|
|
|
5704
5707
|
|
|
5705
5708
|
|
|
@@ -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=Mh4y2QyntVoZ__E_Uqvr2il5fd2kZlN0HN3TsxTo_CU,284756
|
|
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.212.dist-info/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
17
|
+
metacountregressor-0.1.212.dist-info/METADATA,sha256=3ayNLhikZ3nSHUO8zUsYfu1lPc6unOJSq9M3XITkyK4,23536
|
|
18
|
+
metacountregressor-0.1.212.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
19
|
+
metacountregressor-0.1.212.dist-info/top_level.txt,sha256=zGG7UC5WIpr76gsFUpwJ4En2aCcoNTONBaS3OewwjR0,19
|
|
20
|
+
metacountregressor-0.1.212.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|