You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ GLMs have been the industry standard for decades. They're interpretable, well-un
16
16
## Quick Start
17
17
18
18
```bash
19
-
pip install"insurance-gam[ebm]"
19
+
uv add"insurance-gam[ebm]"
20
20
```
21
21
22
22
> 💬 Questions or feedback? Start a [Discussion](https://github.com/burning-cost/insurance-gam/discussions). Found it useful? A ⭐ helps others find it.
@@ -64,7 +64,7 @@ print(rt.summary())
64
64
65
65
Wraps [interpretML's](https://github.com/interpretml/interpret)`ExplainableBoostingRegressor` with insurance-specific tooling: exposure-aware fit/predict, relativity table extraction, post-fit monotonicity enforcement, and GLM comparison tools. If you want the interpretability of a GLM with the predictive power of a gradient booster, start here.
66
66
67
-
Requires the `[ebm]` extra: `pip install "insurance-gam[ebm]"`
67
+
Requires the `[ebm]` extra: `uv add "insurance-gam[ebm]"`
68
68
69
69
```python
70
70
import numpy as np
@@ -107,7 +107,7 @@ print(rt.summary())
107
107
108
108
Neural Additive Model (Laub, Pho, Wong 2025) adapted for insurance. One MLP subnetwork per feature, additive aggregation, Poisson/Tweedie/Gamma losses, and Dykstra-projected monotonicity constraints. Beats GLMs on deviance metrics while producing per-feature shape functions that a pricing team can actually inspect.
109
109
110
-
Requires the `[neural]` extra: `pip install "insurance-gam[neural]"`
110
+
Requires the `[neural]` extra: `uv add "insurance-gam[neural]"`
111
111
112
112
```python
113
113
import numpy as np
@@ -146,7 +146,7 @@ shapes["vehicle_age"].plot()
146
146
147
147
Neural GA2M (Richman, Scognamiglio, Wüthrich 2025). The prediction decomposes as a sum of pairwise interaction terms — one shared network serving all feature pairs, differentiated by learned interaction tokens. Diagonal terms recover main effects. Captures interactions a GLM would miss while keeping the output interpretable as a sum of 2D shape functions.
148
148
149
-
Requires the `[neural]` extra: `pip install "insurance-gam[neural]"`
149
+
Requires the `[neural]` extra: `uv add "insurance-gam[neural]"`
0 commit comments