AutoCarver 7.7.2__tar.gz → 7.7.3__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.
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/utils/base_discretizer.py +8 -2
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/mcp/server.json +3 -3
- {autocarver-7.7.2 → autocarver-7.7.3}/PKG-INFO +1 -1
- {autocarver-7.7.2 → autocarver-7.7.3}/pyproject.toml +1 -1
- {autocarver-7.7.2 → autocarver-7.7.3}/pyproject.toml.orig +1 -1
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/carvers/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/carvers/binary_carver.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/carvers/continuous_carver.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/carvers/multiclass_carver.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/carvers/one_vs_rest_carver.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/carvers/ordinal_carver.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/carvers/utils/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/carvers/utils/base_carver.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/carvers/utils/pretty_print.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/binary/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/binary/binary_combination_evaluators.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/binary/binary_target_rates.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/continuous/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/continuous/continuous_combination_evaluators.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/continuous/continuous_target_rates.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/multiclass/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/multiclass/multiclass_combination_evaluators.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/multiclass/multiclass_target_rates.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/ordinal/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/ordinal/ordinal_combination_evaluators.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/ordinal/ordinal_target_rates.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/utils/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/utils/combination_evaluator.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/utils/combinations.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/utils/dp.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/utils/target_rate.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/utils/testing.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/config.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/discretizer.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/qualitatives/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/qualitatives/categorical_discretizer.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/qualitatives/nested_discretizer.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/qualitatives/ordinal_discretizer.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/qualitatives/qualitative_discretizer.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/quantitatives/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/quantitatives/continuous_discretizer.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/quantitatives/quantitative_discretizer.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/utils/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/utils/type_discretizers.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/features.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/llm_qualifier.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/qualitatives/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/qualitatives/categorical_feature.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/qualitatives/nested_feature.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/qualitatives/ordinal_feature.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/qualitatives/qualitative_feature.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/quantitatives/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/quantitatives/datetime_feature.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/quantitatives/numerical_feature.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/quantitatives/quantitative_feature.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/utils/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/utils/base_feature.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/utils/grouped_list.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/utils/serialization.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/mcp/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/mcp/__main__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/mcp/inspection.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/mcp/server.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/mcp/session.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/mcp/sync_server_json.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/classification_selector.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/filters/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/filters/base_filters.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/filters/qualitative_filters.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/filters/quantitative_filters.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/measures/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/measures/_vectorized.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/measures/base_measures.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/measures/qualitative_measures.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/measures/quantitative_measures.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/ordinal_selector.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/regression_selector.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/utils/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/utils/base_selector.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/utils/pretty_print.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stability/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stability/metrics.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stability/report.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stats/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stats/chi2.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stats/correspondence_analysis.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stats/frequency_ci.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stats/kruskal.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stats/rank_association.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/stats/ridits.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/utils/__init__.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/utils/dependencies.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/utils/extend_docstring.py +0 -0
- {autocarver-7.7.2 → autocarver-7.7.3}/README.md +0 -0
|
@@ -540,12 +540,18 @@ class BaseDiscretizer(ABC, BaseEstimator, TransformerMixin):
|
|
|
540
540
|
# replacing values for there corresponding label — per-column ``map`` is far faster than a
|
|
541
541
|
# dict-of-dict ``DataFrame.replace`` on a wide frame. Unmapped values are restored to match
|
|
542
542
|
# ``replace``'s leave-untouched semantics, but only when some value is actually unmapped (the
|
|
543
|
-
# common case is full coverage, which skips
|
|
543
|
+
# common case is full coverage, which skips the whole-column alignment pass).
|
|
544
|
+
#
|
|
545
|
+
# ``where`` rather than ``fillna``: on an object column ``fillna`` silently downcasts the
|
|
546
|
+
# result, which pandas 2.2 deprecated (a FutureWarning per column, per worker) and pandas 3
|
|
547
|
+
# drops. ``where`` fills the same positions with the same values and never downcasts, so it
|
|
548
|
+
# is both quiet today and stable across that change. Nothing here wanted the downcast --
|
|
549
|
+
# ordinal-encoded columns are cast to numeric explicitly just below.
|
|
544
550
|
for feature in qualitatives:
|
|
545
551
|
col = sample.X[feature.version]
|
|
546
552
|
mapped = col.map(feature.label_per_value)
|
|
547
553
|
if mapped.isna().any():
|
|
548
|
-
mapped = mapped.
|
|
554
|
+
mapped = mapped.where(mapped.notna(), col)
|
|
549
555
|
sample.X[feature.version] = mapped
|
|
550
556
|
|
|
551
557
|
# ordinal_encoding produces integer labels, but the in-place ``replace`` above keeps the
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
|
|
3
3
|
"name": "io.github.mdefrance/autocarver",
|
|
4
4
|
"description": "Qualify dataset columns and process them against a target with AutoCarver, fully on your machine.",
|
|
5
|
-
"version": "7.7.
|
|
5
|
+
"version": "7.7.3",
|
|
6
6
|
"websiteUrl": "https://autocarver.readthedocs.io/en/latest/mcp.html",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/mdefrance/AutoCarver",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"registryType": "pypi",
|
|
14
14
|
"registryBaseUrl": "https://pypi.org",
|
|
15
15
|
"identifier": "autocarver",
|
|
16
|
-
"version": "7.7.
|
|
16
|
+
"version": "7.7.3",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
},
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"registryType": "pypi",
|
|
34
34
|
"registryBaseUrl": "https://pypi.org",
|
|
35
35
|
"identifier": "autocarver",
|
|
36
|
-
"version": "7.7.
|
|
36
|
+
"version": "7.7.3",
|
|
37
37
|
"transport": {
|
|
38
38
|
"type": "stdio"
|
|
39
39
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: AutoCarver
|
|
3
|
-
Version: 7.7.
|
|
3
|
+
Version: 7.7.3
|
|
4
4
|
Summary: Automatic Discretization of Features with Optimal Target Association
|
|
5
5
|
Keywords: binning,discretization,feature-engineering,credit-scoring,woe,scorecards,tschuprow,tschuprow-t,cramer-v,information-value,iv,monotonic-binning,supervised-discretization,bucketization,risk-modeling,credit-risk,fraud-detection,categorical-encoding,supervised-binning,weight-of-evidence,feature-selection,mcp,model-context-protocol
|
|
6
6
|
Author: Mario DEFRANCE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "AutoCarver"
|
|
3
|
-
version = "7.7.
|
|
3
|
+
version = "7.7.3"
|
|
4
4
|
description = "Automatic Discretization of Features with Optimal Target Association"
|
|
5
5
|
authors = [{ name = "Mario DEFRANCE", email = "defrancemario@gmail.com" }]
|
|
6
6
|
requires-python = ">=3.11, <3.15"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/continuous/continuous_target_rates.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/multiclass/multiclass_target_rates.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/ordinal/ordinal_target_rates.py
RENAMED
|
File without changes
|
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/combinations/utils/combination_evaluator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/qualitatives/nested_discretizer.py
RENAMED
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/discretizers/qualitatives/ordinal_discretizer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/qualitatives/categorical_feature.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/qualitatives/qualitative_feature.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/quantitatives/numerical_feature.py
RENAMED
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/features/quantitatives/quantitative_feature.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autocarver-7.7.2 → autocarver-7.7.3}/AutoCarver/selectors/measures/quantitative_measures.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|