sliceline 0.2.18__py3-none-any.whl → 0.2.20__py3-none-any.whl
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.
- sliceline/slicefinder.py +2 -2
- {sliceline-0.2.18.dist-info → sliceline-0.2.20.dist-info}/METADATA +2 -2
- sliceline-0.2.20.dist-info/RECORD +7 -0
- {sliceline-0.2.18.dist-info → sliceline-0.2.20.dist-info}/WHEEL +1 -1
- sliceline-0.2.18.dist-info/RECORD +0 -7
- {sliceline-0.2.18.dist-info → sliceline-0.2.20.dist-info}/LICENSE +0 -0
sliceline/slicefinder.py
CHANGED
|
@@ -10,7 +10,7 @@ from scipy import sparse as sp
|
|
|
10
10
|
from scipy.stats import rankdata
|
|
11
11
|
from sklearn.base import BaseEstimator, TransformerMixin
|
|
12
12
|
from sklearn.preprocessing import OneHotEncoder
|
|
13
|
-
from sklearn.utils.validation import check_is_fitted
|
|
13
|
+
from sklearn.utils.validation import check_is_fitted, _check_feature_names
|
|
14
14
|
|
|
15
15
|
from sliceline.validation import check_array, check_X_e
|
|
16
16
|
|
|
@@ -162,7 +162,7 @@ class Slicefinder(BaseEstimator, TransformerMixin):
|
|
|
162
162
|
# Check that X and e have correct shape
|
|
163
163
|
X_array, errors = check_X_e(X, errors, y_numeric=True)
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
_check_feature_names(self, X, reset=True)
|
|
166
166
|
|
|
167
167
|
self._search_slices(X_array, errors)
|
|
168
168
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: sliceline
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.20
|
|
4
4
|
Summary: ✂️ Fast slice finding for Machine Learning model debugging.
|
|
5
5
|
License: BSD-3-Clause
|
|
6
6
|
Author: Antoine de Daran
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Requires-Dist: numpy (>=1.25,<2.0)
|
|
15
|
-
Requires-Dist: scikit-learn (>=1.
|
|
15
|
+
Requires-Dist: scikit-learn (>=1.6.0,<2.0.0)
|
|
16
16
|
Requires-Dist: scipy (>=1.12,<2.0)
|
|
17
17
|
Project-URL: Documentation, https://sliceline.readthedocs.io/en/stable/
|
|
18
18
|
Project-URL: Repository, https://github.com/DataDome/sliceline
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
sliceline/__init__.py,sha256=jEIUmQtv4W_eZuH63KQ8tAFoRZxyN3O8bRZ__FlMJr0,65
|
|
2
|
+
sliceline/slicefinder.py,sha256=-6aP7hM_fWmFY_fxyXF4PTZmNYmXO_S3efsaL-6g3a8,26378
|
|
3
|
+
sliceline/validation.py,sha256=-RkCpRdANNeaJyrdj7zFn4xs1X1xIXitKwRoL_B5EAk,30794
|
|
4
|
+
sliceline-0.2.20.dist-info/LICENSE,sha256=AbeN2ySrCt8VUJukqcQIYutROwZh3W2u0UU1d7EnbZs,1531
|
|
5
|
+
sliceline-0.2.20.dist-info/METADATA,sha256=khVwkNnYx4K3KaA4BC9gIq0MJmL5D4lOnYyUREbzoVQ,3717
|
|
6
|
+
sliceline-0.2.20.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
7
|
+
sliceline-0.2.20.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
sliceline/__init__.py,sha256=jEIUmQtv4W_eZuH63KQ8tAFoRZxyN3O8bRZ__FlMJr0,65
|
|
2
|
-
sliceline/slicefinder.py,sha256=xuGsxGXtihkKNEokRmhycJ6aY-FPkkNjCsPQKTcPABg,26355
|
|
3
|
-
sliceline/validation.py,sha256=-RkCpRdANNeaJyrdj7zFn4xs1X1xIXitKwRoL_B5EAk,30794
|
|
4
|
-
sliceline-0.2.18.dist-info/LICENSE,sha256=AbeN2ySrCt8VUJukqcQIYutROwZh3W2u0UU1d7EnbZs,1531
|
|
5
|
-
sliceline-0.2.18.dist-info/METADATA,sha256=JiKzXGFQfX7pOMhuhafNrtKxB57yTK7z91CySd3MD7I,3717
|
|
6
|
-
sliceline-0.2.18.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
7
|
-
sliceline-0.2.18.dist-info/RECORD,,
|
|
File without changes
|