CLI Reference
compileml score
Score one row or a CSV through an artifact.
# one row, with reasons
compileml score decision.json --features "0.52,1.3,0.0,…" --explain
# a CSV, sub-millisecond path, results to file
compileml score decision.json --csv applicants.csv --out scores.csv
Empty values, nan, and null in --features are treated as missing and
handled per the artifact's missing policy.
Arguments
| Flag | Description |
|---|---|
| artifact | Path to the artifact JSON. |
| --features FEATURES | Comma-separated values in artifact feature order. |
| --csv CSV | CSV with feature columns named as in the artifact. |
| --out OUT | Output CSV path (default: stdout). |
| --explain | Include reasons (single row). |
| --top-k TOP_K | Override the artifact's reason count. |