Calibration Teach Environment
calibration_teach_environmentDestructive
Calibrate an environment from caller-supplied (predicted, actual) rows. Each predicted value must come from a current quote for the part: a part this environment priced only before the costing model last changed has none, and a request naming one is refused until the part is priced again. If you only have actuals, use the one-click auto-calibrate endpoint, which pairs each actual with the part's current quote server-side.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Between 1 and 20,000 (predicted, actual) rows to calibrate from. | |
| env_id | Yes | ||
| holdout_pct | No | Fraction (0.05–0.5) of rows held out to size the prediction interval. | |
| target_alpha | No | Target miss rate for the prediction interval (0.10 → a 90% interval). |