metacountregressor 0.1.127__tar.gz → 0.1.128__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/PKG-INFO +1 -1
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/helperprocess.py +4 -4
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/PKG-INFO +1 -1
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/LICENSE.txt +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/README.rst +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/__init__.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/_device_cust.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/app_main.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/data_split_helper.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/halton.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/main.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/main_old.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/metaheuristics.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/pareto_file.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/pareto_logger__plot.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/setup.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/single_objective_finder.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/solution.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/test_generated_paper2.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/SOURCES.txt +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/dependency_links.txt +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/not-zip-safe +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/requires.txt +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/top_level.txt +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/setup.cfg +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/setup.py +0 -0
- {metacountregressor-0.1.127 → metacountregressor-0.1.128}/tests/test.py +0 -0
{metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/helperprocess.py
RENAMED
@@ -183,18 +183,18 @@ config = {
|
|
183
183
|
# Function to guess Low, Medium, High ranges
|
184
184
|
def guess_low_medium_high(column_name, series):
|
185
185
|
# Compute the tertiles (33rd and 66th percentiles)
|
186
|
-
low_threshold =
|
187
|
-
high_threshold =
|
186
|
+
low_threshold = np.quantile(series, 0.33)
|
187
|
+
high_threshold = np.quantile(series,0.66)
|
188
188
|
|
189
189
|
# Define the bins and labels
|
190
|
-
bins = [
|
190
|
+
bins = [np.min(series) - 1, low_threshold, high_threshold, np.min(series)]
|
191
191
|
labels = ['Low', 'Medium', 'High']
|
192
192
|
|
193
193
|
return {
|
194
194
|
'type': 'bin',
|
195
195
|
'bins': bins,
|
196
196
|
'labels': labels,
|
197
|
-
'prefix': f'{column_name}
|
197
|
+
'prefix': f'{column_name}'
|
198
198
|
}
|
199
199
|
|
200
200
|
def transform_dataframe(df, config):
|
File without changes
|
File without changes
|
File without changes
|
{metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/_device_cust.py
RENAMED
File without changes
|
File without changes
|
{metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/data_split_helper.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/metaheuristics.py
RENAMED
File without changes
|
File without changes
|
{metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor/pareto_logger__plot.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/not-zip-safe
RENAMED
File without changes
|
{metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/requires.txt
RENAMED
File without changes
|
{metacountregressor-0.1.127 → metacountregressor-0.1.128}/metacountregressor.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|