sliceline 0.2.12__py3-none-any.whl → 0.2.14__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 +3 -1
- sliceline/validation.py +0 -1
- {sliceline-0.2.12.dist-info → sliceline-0.2.14.dist-info}/METADATA +7 -6
- sliceline-0.2.14.dist-info/RECORD +7 -0
- {sliceline-0.2.12.dist-info → sliceline-0.2.14.dist-info}/WHEEL +1 -1
- sliceline-0.2.12.dist-info/RECORD +0 -7
- {sliceline-0.2.12.dist-info → sliceline-0.2.14.dist-info}/LICENSE +0 -0
sliceline/slicefinder.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
The slicefinder module implements the Slicefinder class.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import logging
|
|
5
6
|
from typing import Tuple, Union
|
|
6
7
|
|
|
@@ -426,7 +427,8 @@ class Slicefinder(BaseEstimator, TransformerMixin):
|
|
|
426
427
|
self, slices: sp.csr_matrix, statistics: np.ndarray
|
|
427
428
|
) -> Tuple[sp.csr_matrix, np.ndarray]:
|
|
428
429
|
"""Prune invalid slices.
|
|
429
|
-
Do not affect overall pruning effectiveness due to handling of missing parents.
|
|
430
|
+
Do not affect overall pruning effectiveness due to handling of missing parents.
|
|
431
|
+
"""
|
|
430
432
|
valid_slices_mask = (statistics[:, 3] >= self.min_sup) & (
|
|
431
433
|
statistics[:, 1] > 0
|
|
432
434
|
)
|
sliceline/validation.py
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sliceline
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.14
|
|
4
4
|
Summary: ✂️ Fast slice finding for Machine Learning model debugging.
|
|
5
5
|
Home-page: https://github.com/DataDome/sliceline
|
|
6
6
|
License: BSD-3-Clause
|
|
7
7
|
Author: Antoine de Daran
|
|
8
|
-
Requires-Python: >=3.
|
|
8
|
+
Requires-Python: >=3.9,<3.12
|
|
9
9
|
Classifier: License :: OSI Approved :: BSD License
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
13
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Requires-Dist: numpy (>=1.25,<2.0)
|
|
15
|
+
Requires-Dist: scikit-learn (>=1.5.0,<2.0.0)
|
|
16
|
+
Requires-Dist: scipy (>=1.12,<2.0)
|
|
16
17
|
Project-URL: Documentation, https://sliceline.readthedocs.io/en/stable/
|
|
17
18
|
Project-URL: Repository, https://github.com/DataDome/sliceline
|
|
18
19
|
Description-Content-Type: text/x-rst
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
sliceline/__init__.py,sha256=jEIUmQtv4W_eZuH63KQ8tAFoRZxyN3O8bRZ__FlMJr0,65
|
|
2
|
+
sliceline/slicefinder.py,sha256=1uEuR9ehu0Zu1hi8aYp7ZhdpeDQrZ1BVTN4duPibPjk,25755
|
|
3
|
+
sliceline/validation.py,sha256=-RkCpRdANNeaJyrdj7zFn4xs1X1xIXitKwRoL_B5EAk,30794
|
|
4
|
+
sliceline-0.2.14.dist-info/LICENSE,sha256=AbeN2ySrCt8VUJukqcQIYutROwZh3W2u0UU1d7EnbZs,1531
|
|
5
|
+
sliceline-0.2.14.dist-info/METADATA,sha256=dJXRmNFhQRyyWwfSpbkFJwyYjFBjHcgDidvnXnxkLKc,3715
|
|
6
|
+
sliceline-0.2.14.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
7
|
+
sliceline-0.2.14.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
sliceline/__init__.py,sha256=jEIUmQtv4W_eZuH63KQ8tAFoRZxyN3O8bRZ__FlMJr0,65
|
|
2
|
-
sliceline/slicefinder.py,sha256=KFf3ysPUKfwcuxK1ZSD7MdhN9Dvr3j6JGmI3SXRI1xY,25745
|
|
3
|
-
sliceline/validation.py,sha256=EQfrUvNpqy0NK_zHMaTmvRuvG6O2-J_3IlF6ehBcEyI,30795
|
|
4
|
-
sliceline-0.2.12.dist-info/LICENSE,sha256=AbeN2ySrCt8VUJukqcQIYutROwZh3W2u0UU1d7EnbZs,1531
|
|
5
|
-
sliceline-0.2.12.dist-info/METADATA,sha256=PJzD2InciazhlLUgVfPeJ5pXBr-jee2GeTMAPn90qXU,3681
|
|
6
|
-
sliceline-0.2.12.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
7
|
-
sliceline-0.2.12.dist-info/RECORD,,
|
|
File without changes
|