metacountregressor 0.1.160__tar.gz → 0.1.162__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.160 → metacountregressor-0.1.162}/PKG-INFO +1 -1
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/helperprocess.py +2 -1
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/solution.py +7 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/PKG-INFO +1 -1
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/LICENSE.txt +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/README.rst +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/__init__.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/_device_cust.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/app_main.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/data_split_helper.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/halton.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/main.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/main_old.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/metaheuristics.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/pareto_file.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/pareto_logger__plot.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/setup.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/single_objective_finder.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/test_generated_paper2.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/SOURCES.txt +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/dependency_links.txt +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/not-zip-safe +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/requires.txt +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/top_level.txt +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/setup.cfg +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/setup.py +0 -0
- {metacountregressor-0.1.160 → metacountregressor-0.1.162}/tests/test.py +0 -0
{metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/helperprocess.py
RENAMED
|
@@ -95,6 +95,7 @@ def findCorrelation(corr, cutoff=0.9, exact=None): """
|
|
|
95
95
|
findCorrelation(R1, cutoff=0.6, exact=True) # ['x1', 'x5', 'x4']
|
|
96
96
|
"""
|
|
97
97
|
|
|
98
|
+
|
|
98
99
|
def _findCorrelation_fast(corr, avg, cutoff):
|
|
99
100
|
|
|
100
101
|
combsAboveCutoff = corr.where(lambda x: (np.tril(x) == 0) & (x > cutoff)).stack().index
|
|
@@ -434,7 +435,7 @@ def interactions(df, keep=None, drop_this_perc=0.6, interact = False):
|
|
|
434
435
|
|
|
435
436
|
if missing_columns:
|
|
436
437
|
print(f"The following columns are not in the DataFrame and will be ignored: {missing_columns}")
|
|
437
|
-
keep = [col for col in keep if col not in
|
|
438
|
+
keep = [col for col in keep if col not in missing_columns]
|
|
438
439
|
df_corr = df.drop(columns=keep, errors='ignore', inplace=False) # Exclude `keep` columns
|
|
439
440
|
else:
|
|
440
441
|
df_corr = df
|
|
@@ -187,7 +187,13 @@ class ObjectiveFunction(object):
|
|
|
187
187
|
self._max_characteristics = kwargs.get('_max_vars', 26)
|
|
188
188
|
|
|
189
189
|
self.beta_dict = dict
|
|
190
|
+
if 'model_terms' in kwargs:
|
|
191
|
+
print('change')
|
|
192
|
+
if kwargs.get('model_terms').get('group') is not None:
|
|
193
|
+
kwargs['group'] = kwargs.get('model_terms').get('group')
|
|
190
194
|
|
|
195
|
+
if kwargs.get('model_terms').get('panels') is not None:
|
|
196
|
+
kwargs['panels'] = kwargs.get('model_terms').get('panels')
|
|
191
197
|
acceptable_keys_list = ['_par', '_max_imp', '_hmcr', 'steps',
|
|
192
198
|
'algorithm', '_random_seed', '_max_time',
|
|
193
199
|
'forcedvariables', '_obj_1', '_obj_2', '_par',
|
|
@@ -525,6 +531,7 @@ class ObjectiveFunction(object):
|
|
|
525
531
|
if self.is_multi:
|
|
526
532
|
self._offsets_test = self._x_data_test[:, :, val_od]
|
|
527
533
|
self._x_data_test = self.remove_offset(self._x_data_test, val_od)
|
|
534
|
+
print(self._offsets)
|
|
528
535
|
else:
|
|
529
536
|
self.initialize_empty_offsets()
|
|
530
537
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/_device_cust.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/data_split_helper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/metaheuristics.py
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor/pareto_logger__plot.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/requires.txt
RENAMED
|
File without changes
|
{metacountregressor-0.1.160 → metacountregressor-0.1.162}/metacountregressor.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|