metacountregressor 0.1.125__tar.gz → 0.1.127__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/PKG-INFO +1 -1
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/helperprocess.py +1 -2
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/solution.py +2 -2
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/PKG-INFO +1 -1
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/LICENSE.txt +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/README.rst +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/__init__.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/_device_cust.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/app_main.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/data_split_helper.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/halton.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/main.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/main_old.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/metaheuristics.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/pareto_file.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/pareto_logger__plot.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/setup.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/single_objective_finder.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/test_generated_paper2.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/SOURCES.txt +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/dependency_links.txt +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/not-zip-safe +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/requires.txt +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/top_level.txt +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/setup.cfg +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/setup.py +0 -0
- {metacountregressor-0.1.125 → metacountregressor-0.1.127}/tests/test.py +0 -0
{metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/helperprocess.py
RENAMED
@@ -246,8 +246,7 @@ def guess_column_type(column_name, series):
|
|
246
246
|
if unique_values < 5:
|
247
247
|
return {'type': 'one-hot', 'prefix': column_name}
|
248
248
|
|
249
|
-
|
250
|
-
elif series.range() > 20:
|
249
|
+
elif np.max(series) - np.min(series) > 20:
|
251
250
|
# If there are few unique values, assume binning with default bins
|
252
251
|
guess_low_medium_high(column_name,series)
|
253
252
|
else:
|
@@ -449,7 +449,7 @@ class ObjectiveFunction(object):
|
|
449
449
|
if 'model_types' in kwargs:
|
450
450
|
model_types = kwargs['model_types']
|
451
451
|
else:
|
452
|
-
|
452
|
+
|
453
453
|
|
454
454
|
model_types = [[0, 1]] # add 2 for Generalized Poisson
|
455
455
|
model_types = [[0]]
|
@@ -459,7 +459,7 @@ class ObjectiveFunction(object):
|
|
459
459
|
# Retrieve the keys (model names) corresponding to the values in model_types
|
460
460
|
model_keys = [key for key, value in model_t_dict.items() if value in model_types[0]]
|
461
461
|
# Print the formatted result
|
462
|
-
print(f'The type of models possible
|
462
|
+
print(f'The type of models possible will consider: {", ".join(model_keys)}')
|
463
463
|
self._discrete_values = self._discrete_values + self.define_poissible_transforms(
|
464
464
|
self._transformations, kwargs.get('decisions',None)) + model_types
|
465
465
|
|
File without changes
|
File without changes
|
File without changes
|
{metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/_device_cust.py
RENAMED
File without changes
|
File without changes
|
{metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/data_split_helper.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/metaheuristics.py
RENAMED
File without changes
|
File without changes
|
{metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor/pareto_logger__plot.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/not-zip-safe
RENAMED
File without changes
|
{metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/requires.txt
RENAMED
File without changes
|
{metacountregressor-0.1.125 → metacountregressor-0.1.127}/metacountregressor.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|