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

FlagDescription
artifactPath to the artifact JSON.
--features FEATURESComma-separated values in artifact feature order.
--csv CSVCSV with feature columns named as in the artifact.
--out OUTOutput CSV path (default: stdout).
--explainInclude reasons (single row).
--top-k TOP_KOverride the artifact's reason count.