@elaraai/east-py-datascience 1.0.109 → 1.0.111
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.
- package/README.md +65 -5
- package/dist/src/shap/shap.d.ts +23 -5
- package/dist/src/shap/shap.d.ts.map +1 -1
- package/dist/src/shap/shap.js +23 -5
- package/dist/src/shap/shap.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -20,18 +20,78 @@ Each module has its own optional Python dependencies to avoid installing unneces
|
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
# Single extra
|
|
23
|
-
pip install "east-py-datascience[scipy]"
|
|
23
|
+
uv pip install "elaraai-east-py-datascience[scipy]"
|
|
24
24
|
|
|
25
25
|
# Multiple extras
|
|
26
|
-
pip install "east-py-datascience[scipy,sklearn,xgboost]"
|
|
26
|
+
uv pip install "elaraai-east-py-datascience[scipy,sklearn,xgboost]"
|
|
27
27
|
|
|
28
|
-
# All extras
|
|
29
|
-
pip install "east-py-datascience[all]"
|
|
28
|
+
# All extras, under the release's overrides (east-py-overrides.txt, below)
|
|
29
|
+
uv pip install --override east-py-overrides.txt "elaraai-east-py-datascience[all]"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
**`all`, or `causal` with `shap`, takes the release's overrides, and so uv.**
|
|
33
|
+
econml, which `causal` installs, asks for a shap before 0.49, and that shap
|
|
34
|
+
cannot read the models of the xgboost the extras install (`could not convert
|
|
35
|
+
string to float`). The release overrides it (`shap>=0.51.0`). pip takes no
|
|
36
|
+
overrides: installed with pip, these extras resolve, and
|
|
37
|
+
`Shap.treeExplainerCreate` fails on every XGBoost model. Any other extras
|
|
38
|
+
install with pip as with uv.
|
|
39
|
+
|
|
40
|
+
**Python 3.12 or later.** xgboost 3.4, whose NCCL library is the CUDA 13 one
|
|
41
|
+
torch uses, needs it. Give your project's `requires-python` a floor of 3.12
|
|
42
|
+
too: uv locks for every Python a project admits, so a project that admits 3.11
|
|
43
|
+
is locked to an earlier release of this package, one that took 3.11.
|
|
44
|
+
|
|
45
|
+
**torch is pinned.** The `torch`, `lightning` and `all` extras pin torch and
|
|
46
|
+
pytorch-lightning exactly, at the versions the release was tested with. Ask
|
|
47
|
+
for torch through them, and name no torch of your own:
|
|
48
|
+
|
|
49
|
+
```toml
|
|
50
|
+
dependencies = ["elaraai-east-py-datascience[torch,lightning]"] # not "torch", "pytorch-lightning"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Your lock then holds the torch from PyPI that the release's `py-datascience`
|
|
54
|
+
image holds, so an e3 task that runs on a rack over that image is not sent
|
|
55
|
+
torch and its NVIDIA libraries. A pin with no local label is met by every
|
|
56
|
+
local label, so a project that takes torch from a PyTorch index locks that
|
|
57
|
+
index's build (`2.15.0+cpu`, `2.15.0+cu130`), which is not the image's, and is
|
|
58
|
+
sent it. A project that needs another torch leaves the extras out and lists
|
|
59
|
+
torch itself.
|
|
60
|
+
|
|
61
|
+
**torch and xgboost share one NCCL library.** The extras ask for xgboost 3.4 or
|
|
62
|
+
later, whose NCCL library is `nvidia-nccl-cu13`, the one torch pins. An
|
|
63
|
+
earlier xgboost asks for `nvidia-nccl-cu12`, which installs the same file, and
|
|
64
|
+
with it on top `import torch` fails (`undefined symbol: ncclCommResume`): a
|
|
65
|
+
project that names xgboost itself keeps it at 3.4 or later. An environment
|
|
66
|
+
that held both, from an earlier xgboost beside this torch, loses the file they
|
|
67
|
+
share when uv removes xgboost's: put torch's back once, with `uv sync
|
|
68
|
+
--reinstall-package nvidia-nccl-cu13`.
|
|
69
|
+
|
|
70
|
+
Each release ships the settings its packages were tested with, in
|
|
71
|
+
`@elaraai/e3-core` (`tier/`): `east-py-constraints.txt`, every third-party
|
|
72
|
+
version of this workspace's lock, each pin with the platforms it is for, and
|
|
73
|
+
`east-py-overrides.txt`. To hold a distribution at the release's version, put
|
|
74
|
+
its pins under `[tool.uv] constraint-dependencies` in your workspace root, each
|
|
75
|
+
as `name==version ; marker`: the pin and its marker, and none of the line's
|
|
76
|
+
trailing `\`, `--hash` lines or `# via` notes. Keep every pin of the name and
|
|
77
|
+
its marker, or one platform is held at another's version:
|
|
78
|
+
|
|
79
|
+
```toml
|
|
80
|
+
[tool.uv]
|
|
81
|
+
constraint-dependencies = [
|
|
82
|
+
"numpy==2.3.5 ; platform_machine == 'x86_64' and sys_platform == 'darwin'",
|
|
83
|
+
"numpy==2.4.4 ; platform_machine != 'x86_64' or sys_platform != 'darwin'",
|
|
84
|
+
]
|
|
85
|
+
override-dependencies = ["shap>=0.51.0"]
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
The overrides go under `override-dependencies`, as above. With the `causal`
|
|
89
|
+
and `shap` extras together, the override (`shap>=0.51.0`) is what gives you a
|
|
90
|
+
shap that reads current xgboost models.
|
|
91
|
+
|
|
32
92
|
When using a git dependency in `pyproject.toml`:
|
|
33
93
|
```toml
|
|
34
|
-
"east-py-datascience[scipy] @ git+https://github.com/elaraai/east-workspace@main#subdirectory=libs/east-py/packages/east-py-datascience"
|
|
94
|
+
"elaraai-east-py-datascience[scipy] @ git+https://github.com/elaraai/east-workspace@main#subdirectory=libs/east-py/packages/east-py-datascience"
|
|
35
95
|
```
|
|
36
96
|
|
|
37
97
|
| Module | Extra | Python Packages |
|
package/dist/src/shap/shap.d.ts
CHANGED
|
@@ -804,6 +804,12 @@ export declare const MapieClassifierShapResultType: StructType<{
|
|
|
804
804
|
* conflate correlated features because it follows the tree's split paths.
|
|
805
805
|
* - `interventional`: Uses background data to break feature correlations, giving
|
|
806
806
|
* causal "what if I changed this feature" explanations. Requires background samples.
|
|
807
|
+
* SHAP's tree algorithm cannot read categorical splits, so over a model trained
|
|
808
|
+
* with categorical features the values are KernelExplainer's, of the model's raw
|
|
809
|
+
* output against the background (a seeded sample of 100 of its rows, when it
|
|
810
|
+
* has more): every feature given its value, exact for up to 11 features,
|
|
811
|
+
* estimated beyond, the same each run. Each row explained evaluates the model
|
|
812
|
+
* `(2 × features + 2048)` times for each background row.
|
|
807
813
|
*/
|
|
808
814
|
export declare const TreeExplainerConfigType: VariantType<{
|
|
809
815
|
/** Path-dependent mode: uses tree structure only (default SHAP behavior) */
|
|
@@ -1208,10 +1214,14 @@ export declare const TreeExplainerConfigType: VariantType<{
|
|
|
1208
1214
|
* - `path_dependent`: Uses tree split paths (fast, default SHAP behavior).
|
|
1209
1215
|
* Tells you how the tree *used* features.
|
|
1210
1216
|
* - `interventional`: Uses background data to break feature correlations.
|
|
1211
|
-
* Tells you how *changing* a feature would change the prediction.
|
|
1217
|
+
* Tells you how *changing* a feature would change the prediction. Over a
|
|
1218
|
+
* model trained with categorical features, a KernelExplainer of the model's
|
|
1219
|
+
* raw output against the background, since SHAP's tree algorithm cannot read
|
|
1220
|
+
* categorical splits.
|
|
1212
1221
|
*
|
|
1213
1222
|
* @param config - Variant with mode selection and model/background data
|
|
1214
|
-
* @returns SHAP TreeExplainer blob
|
|
1223
|
+
* @returns SHAP TreeExplainer blob, or a KernelExplainer blob for `interventional`
|
|
1224
|
+
* over categorical features
|
|
1215
1225
|
*/
|
|
1216
1226
|
export declare const shap_tree_explainer_create: import("@elaraai/east").PlatformDefinition<[VariantType<{
|
|
1217
1227
|
/** Path-dependent mode: uses tree structure only (default SHAP behavior) */
|
|
@@ -1626,7 +1636,11 @@ export declare const shap_tree_explainer_create: import("@elaraai/east").Platfor
|
|
|
1626
1636
|
* Create a SHAP KernelExplainer for any model.
|
|
1627
1637
|
*
|
|
1628
1638
|
* Works with any model that has a predict method (NGBoost, GP, Torch, etc.).
|
|
1629
|
-
* Requires background data for computing expected values.
|
|
1639
|
+
* Requires background data for computing expected values. Every feature is
|
|
1640
|
+
* given its value: exactly for up to 11 features, and beyond from a seeded
|
|
1641
|
+
* sample of coalitions, the same each run. Each row explained evaluates the
|
|
1642
|
+
* model `(2 × features + 2048)` times for each background row, so a background
|
|
1643
|
+
* of up to 100 rows keeps it quick.
|
|
1630
1644
|
*
|
|
1631
1645
|
* @param model - Any model blob
|
|
1632
1646
|
* @param X_background - Background data for computing expected values
|
|
@@ -2893,7 +2907,9 @@ export declare const Shap: {
|
|
|
2893
2907
|
* Two modes:
|
|
2894
2908
|
* - `path_dependent`: Uses tree split paths. Tells you how the tree used features.
|
|
2895
2909
|
* - `interventional`: Uses background data to break correlations. Tells you how
|
|
2896
|
-
* changing a feature would change the prediction.
|
|
2910
|
+
* changing a feature would change the prediction. Over a model trained with
|
|
2911
|
+
* categorical features it returns a KernelExplainer of the model's raw output
|
|
2912
|
+
* against the background: SHAP's tree algorithm cannot read categorical splits.
|
|
2897
2913
|
*
|
|
2898
2914
|
* @example
|
|
2899
2915
|
* ```ts
|
|
@@ -3336,7 +3352,9 @@ export declare const Shap: {
|
|
|
3336
3352
|
* Create a SHAP KernelExplainer for any model.
|
|
3337
3353
|
*
|
|
3338
3354
|
* Works with any model (NGBoost, GP, Torch, etc.). Requires background
|
|
3339
|
-
* data for computing expected values.
|
|
3355
|
+
* data for computing expected values. Every feature is given its value,
|
|
3356
|
+
* the same each run; each row explained evaluates the model
|
|
3357
|
+
* `(2 × features + 2048)` times for each background row.
|
|
3340
3358
|
*
|
|
3341
3359
|
* @example
|
|
3342
3360
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shap.d.ts","sourceRoot":"","sources":["../../../src/shap/shap.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EAEH,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAIrD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAMrD,2CAA2C;AAC3C,eAAO,MAAM,gBAAgB,uBAAwB,CAAC;AAMtD;;GAEG;AACH,eAAO,MAAM,cAAc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AC"}
|
package/dist/src/shap/shap.js
CHANGED
|
@@ -336,6 +336,12 @@ export const MapieClassifierShapResultType = StructType({
|
|
|
336
336
|
* conflate correlated features because it follows the tree's split paths.
|
|
337
337
|
* - `interventional`: Uses background data to break feature correlations, giving
|
|
338
338
|
* causal "what if I changed this feature" explanations. Requires background samples.
|
|
339
|
+
* SHAP's tree algorithm cannot read categorical splits, so over a model trained
|
|
340
|
+
* with categorical features the values are KernelExplainer's, of the model's raw
|
|
341
|
+
* output against the background (a seeded sample of 100 of its rows, when it
|
|
342
|
+
* has more): every feature given its value, exact for up to 11 features,
|
|
343
|
+
* estimated beyond, the same each run. Each row explained evaluates the model
|
|
344
|
+
* `(2 × features + 2048)` times for each background row.
|
|
339
345
|
*/
|
|
340
346
|
export const TreeExplainerConfigType = VariantType({
|
|
341
347
|
/** Path-dependent mode: uses tree structure only (default SHAP behavior) */
|
|
@@ -363,17 +369,25 @@ export const TreeExplainerConfigType = VariantType({
|
|
|
363
369
|
* - `path_dependent`: Uses tree split paths (fast, default SHAP behavior).
|
|
364
370
|
* Tells you how the tree *used* features.
|
|
365
371
|
* - `interventional`: Uses background data to break feature correlations.
|
|
366
|
-
* Tells you how *changing* a feature would change the prediction.
|
|
372
|
+
* Tells you how *changing* a feature would change the prediction. Over a
|
|
373
|
+
* model trained with categorical features, a KernelExplainer of the model's
|
|
374
|
+
* raw output against the background, since SHAP's tree algorithm cannot read
|
|
375
|
+
* categorical splits.
|
|
367
376
|
*
|
|
368
377
|
* @param config - Variant with mode selection and model/background data
|
|
369
|
-
* @returns SHAP TreeExplainer blob
|
|
378
|
+
* @returns SHAP TreeExplainer blob, or a KernelExplainer blob for `interventional`
|
|
379
|
+
* over categorical features
|
|
370
380
|
*/
|
|
371
381
|
export const shap_tree_explainer_create = East.platform("shap_tree_explainer_create", [TreeExplainerConfigType], ShapModelBlobType);
|
|
372
382
|
/**
|
|
373
383
|
* Create a SHAP KernelExplainer for any model.
|
|
374
384
|
*
|
|
375
385
|
* Works with any model that has a predict method (NGBoost, GP, Torch, etc.).
|
|
376
|
-
* Requires background data for computing expected values.
|
|
386
|
+
* Requires background data for computing expected values. Every feature is
|
|
387
|
+
* given its value: exactly for up to 11 features, and beyond from a seeded
|
|
388
|
+
* sample of coalitions, the same each run. Each row explained evaluates the
|
|
389
|
+
* model `(2 × features + 2048)` times for each background row, so a background
|
|
390
|
+
* of up to 100 rows keeps it quick.
|
|
377
391
|
*
|
|
378
392
|
* @param model - Any model blob
|
|
379
393
|
* @param X_background - Background data for computing expected values
|
|
@@ -452,7 +466,9 @@ export const Shap = {
|
|
|
452
466
|
* Two modes:
|
|
453
467
|
* - `path_dependent`: Uses tree split paths. Tells you how the tree used features.
|
|
454
468
|
* - `interventional`: Uses background data to break correlations. Tells you how
|
|
455
|
-
* changing a feature would change the prediction.
|
|
469
|
+
* changing a feature would change the prediction. Over a model trained with
|
|
470
|
+
* categorical features it returns a KernelExplainer of the model's raw output
|
|
471
|
+
* against the background: SHAP's tree algorithm cannot read categorical splits.
|
|
456
472
|
*
|
|
457
473
|
* @example
|
|
458
474
|
* ```ts
|
|
@@ -487,7 +503,9 @@ export const Shap = {
|
|
|
487
503
|
* Create a SHAP KernelExplainer for any model.
|
|
488
504
|
*
|
|
489
505
|
* Works with any model (NGBoost, GP, Torch, etc.). Requires background
|
|
490
|
-
* data for computing expected values.
|
|
506
|
+
* data for computing expected values. Every feature is given its value,
|
|
507
|
+
* the same each run; each row explained evaluates the model
|
|
508
|
+
* `(2 × features + 2048)` times for each background row.
|
|
491
509
|
*
|
|
492
510
|
* @example
|
|
493
511
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shap.js","sourceRoot":"","sources":["../../../src/shap/shap.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EACH,IAAI,EACJ,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,UAAU,EACV,SAAS,EACT,QA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AAC,MAAM,SAAS,GAAG;IACrB,yBAAyB;IACzB,gBAAgB;IAChB,0CAA0C;IAC1C,cAAc;IACd,yDAAyD;IACzD,iBAAiB;IACjB,uBAAuB;IACvB,cAAc;IACd,8BAA8B;IAC9B,qBAAqB;IACrB,qCAAqC;IACrC,iBAAiB;IACjB,qCAAqC;IACrC,iBAAiB;IACjB,yEAAyE;IACzE,uBAAuB;IACvB,+CAA+C;IAC/C,gBAAgB;CACV,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,mBAAmB,EAAE,0BAA0B;IAE/C;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,qBAAqB,EAAE,4BAA4B;IAEnD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,aAAa,EAAE,mBAAmB;IAElC;;;;;;;;;;;;;;;;;;OAkBG;IACH,iBAAiB,EAAE,uBAAuB;IAC1C,uBAAuB;IACvB,KAAK,EAAE,SAAS;CACV,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elaraai/east-py-datascience",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.111",
|
|
4
4
|
"description": "East Data Science - ML/optimization platform functions for East (TypeScript definitions)",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"typescript-7": "npm:typescript@7.0.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@elaraai/east": "1.0.
|
|
52
|
-
"@elaraai/east-node-std": "1.0.
|
|
51
|
+
"@elaraai/east": "1.0.111",
|
|
52
|
+
"@elaraai/east-node-std": "1.0.111"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "tsc",
|