How it scores
A tuned XGBoost regressor predicts log(price) from carat, the physical
dimensions, and ordinal-encoded cut, colour and clarity. Training happens once offline;
the serialized trees ship with this page and score every estimate locally.
- Algorithm
- —
- Held-out R²
- —
- MAPE
- —
- vs. linear baseline
- —