metacountregressor 0.1.143__py3-none-any.whl → 0.1.146__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- metacountregressor/helperprocess.py +5 -0
- metacountregressor/solution.py +2 -2
- {metacountregressor-0.1.143.dist-info → metacountregressor-0.1.146.dist-info}/METADATA +1 -1
- {metacountregressor-0.1.143.dist-info → metacountregressor-0.1.146.dist-info}/RECORD +7 -7
- {metacountregressor-0.1.143.dist-info → metacountregressor-0.1.146.dist-info}/LICENSE.txt +0 -0
- {metacountregressor-0.1.143.dist-info → metacountregressor-0.1.146.dist-info}/WHEEL +0 -0
- {metacountregressor-0.1.143.dist-info → metacountregressor-0.1.146.dist-info}/top_level.txt +0 -0
@@ -418,6 +418,11 @@ def interactions(df, keep=None, drop_this_perc=0.6, interact = False):
|
|
418
418
|
# second
|
419
419
|
# Remove `keep` columns from the correlation matrix
|
420
420
|
if keep is not None:
|
421
|
+
missing_columns = [col for col in keep if col not in df.columns]
|
422
|
+
|
423
|
+
if missing_columns:
|
424
|
+
print(f"The following columns are not in the DataFrame and will be ignored: {missing_columns}")
|
425
|
+
keep = [col for col in keep if col not in df.columns]
|
421
426
|
df_corr = df.drop(columns=keep, errors='ignore') # Exclude `keep` columns
|
422
427
|
else:
|
423
428
|
df_corr = df
|
metacountregressor/solution.py
CHANGED
@@ -177,14 +177,14 @@ class ObjectiveFunction(object):
|
|
177
177
|
self.method_ll = 'Nelder-Mead-BFGS'
|
178
178
|
|
179
179
|
self.method_ll = 'L-BFGS-B' # alternatives 'BFGS_2', 'BFGS
|
180
|
-
self.method_ll = kwargs.get('method', '
|
180
|
+
self.method_ll = kwargs.get('method', 'BFGS_2')
|
181
181
|
|
182
182
|
#self.method_ll = 'Nelder-Mead-BFGS'
|
183
183
|
self.Keep_Fit = 2
|
184
184
|
self.MP = 0
|
185
185
|
# Nelder-Mead-BFGS
|
186
186
|
|
187
|
-
self._max_characteristics =
|
187
|
+
self._max_characteristics = kwargs.get('_max_vars', 26)
|
188
188
|
|
189
189
|
self.beta_dict = dict
|
190
190
|
|
@@ -3,7 +3,7 @@ metacountregressor/_device_cust.py,sha256=759fnKmTYccJm4Lpi9_1reurh6OB9d6q9soPR0
|
|
3
3
|
metacountregressor/app_main.py,sha256=vY3GczTbGbBRalbzMkl_9jVW7RMgEOc6z2Dr1IZJv9c,10014
|
4
4
|
metacountregressor/data_split_helper.py,sha256=M2fIMdIO8znUaYhx5wlacRyNWdQjNYu1z1wkE-kFUYU,3373
|
5
5
|
metacountregressor/halton.py,sha256=jhovA45UBoZYU9g-hl6Lb2sBIx_ZBTNdPrpgkzR9fng,9463
|
6
|
-
metacountregressor/helperprocess.py,sha256=
|
6
|
+
metacountregressor/helperprocess.py,sha256=MTu1dXAejrN-kLcTg2EP0ISOVlPGUkxQs25Q9cqxcPs,21023
|
7
7
|
metacountregressor/main.py,sha256=2Rx_mGIGzl4lhwkMb7DHvsBaawqEakKiVR1Yr2uG9Yo,22819
|
8
8
|
metacountregressor/main_old.py,sha256=eTS4ygq27MnU-dZ_j983Ucb-D5XfbVF8OJQK2hVVLZc,24123
|
9
9
|
metacountregressor/metaheuristics.py,sha256=1Tm_BS8HxumEo9fteIwTTkfiJXbfH6wlfSmY0tSt77A,106289
|
@@ -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=Se3-NMxuRFacPN9f3qfGzkKeIccs8cbe4ebkV0UsGlA,278325
|
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.146.dist-info/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
17
|
+
metacountregressor-0.1.146.dist-info/METADATA,sha256=AuRoXoD9mbx43mFObuM90pB7l7lGfEBkiCVQcEvgBec,23434
|
18
|
+
metacountregressor-0.1.146.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
19
|
+
metacountregressor-0.1.146.dist-info/top_level.txt,sha256=zGG7UC5WIpr76gsFUpwJ4En2aCcoNTONBaS3OewwjR0,19
|
20
|
+
metacountregressor-0.1.146.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|