pippen.cli¶
The command-line entry point. Run pippen --help for usage.
pippen.cli ¶
Command-line interface for pippen.
version ¶
paths ¶
Show where pippen reads and writes data on this machine.
Source code in src/pippen/cli.py
fetch ¶
Download one hoopR table for a range of seasons.
Files already present and readable are skipped unless --force is given, so re-running after an interruption costs only the seasons that are missing.
Source code in src/pippen/cli.py
rapm ¶
Compute regularized adjusted plus-minus over a rolling multi-season window.
Windows are pooled rather than fitted per season because a single season is too few possessions to separate teammates who rarely sit apart. A window of 1 is allowed and is what the sensitivity check uses, not what gets published.
Source code in src/pippen/cli.py
train ¶
Fit the reliability-weighted measurement model for one window.
Seasons are NBA labels, so 2016 means the 2016-17 season. The reliability
bounds come from pippen reliability, which must have run first.
Source code in src/pippen/cli.py
evaluate ¶
Compare PIPPEN against every input metric on next-season team net rating.
This is the claim the project committed to answering before the model was built. It runs every candidate on its own, then two supervised baselines over all of them at once, then the same baselines with RAPM and the fused rating removed, then SHAP attributions, then paired tests. The answer is printed whichever way it comes out.
Slow: one fusion fit per window plus nested hyperparameter selection.