Impute missing aircraft specs
impute_aircraft_specsML fill-in for missing airframe, engine, and condition fields (SMOH, AFTT, interior/exterior quality, etc.) before a valuation. Identify the aircraft by registration or make_model_id; any fields you supply (including known hours) are preserved and used to estimate the rest. field_sources says which values were provided, taken from the tail's registry/listing data, or imputed. Quality scores use a 1–10 scale on input (a literal 1 reads as like-new, not the worst grade — send 0.1 for the worst) and are RETURNED on the 0–1 scale, where 0.7 means grade 7. Pass the returned values straight to value_aircraft, which accepts either scale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aftt | No | Airframe total time (hours), if known. | |
| year | No | ||
| smoh_1 | No | Hours since major overhaul, engine 1, if known. | |
| smoh_2 | No | Hours since major overhaul, engine 2, if known. | |
| registration | No | ||
| make_model_id | No | ||
| exterior_quality | No | Exterior condition, 1–10 (10 = like-new). Caution: values <= 1 are read on the legacy 0–1 scale, so a literal 1 means like-new, NOT the worst grade — send 0.1 for the worst. | |
| interior_quality | No | Interior condition, 1–10 (10 = like-new). Caution: values <= 1 are read on the legacy 0–1 scale, so a literal 1 means like-new, NOT the worst grade — send 0.1 for the worst. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |