File size: 6,517 Bytes
fdcfe30 73cfc00 fdcfe30 73cfc00 fdcfe30 73cfc00 fdcfe30 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | ---
license: other
license_name: proxima-noncommercial-1.0
license_link: https://huggingface.co/AtlasAI-official/Proxima/blob/main/LICENSE
library_name: lightgbm
language:
- en
tags:
- flight-delay
- tabular-regression
- aviation
- research
---
# Proxima
Source-available research model for numerical flight-delay prediction from structured schedules. **This is the standalone supervised R&D checkpoint, not a language model or a worldwide validated flight predictor.** The selected weights were trained from scratch on international ANAC records, with no pretrained USB/US model weights bundled. The earlier PPO experiments motivated this design; the released prediction path has no RL correction.
Code and selected weights are offered under the [Proxima Noncommercial License 1.0](LICENSE). **Commercial use requires prior written permission from AtlasAI-official.** Third-party data and dependencies retain their own licenses; see NOTICE and AIRPORTSDATA_LICENSE. This release includes weights, inference, data preparation, a download script, training code, configurations and measured results.
## License and commercial permission
Personal, educational and noncommercial research use is permitted under LICENSE. Commercial products, paid APIs, internal business use and commercial model development require a separate written license from the owner. Request permission through [AtlasAI-official](https://huggingface.co/AtlasAI-official); permission must be explicitly granted in writing. Redistribution and derivatives must retain the license and notices. These noncommercial terms make this a source-available release rather than an unrestricted open-source release.
**Prior Apache release:** commit `fdcfe3071e6fdd253c2e7fe3c9094961c87255de` was published under Apache 2.0. Those grants remain in force, including commercial rights to the previously released code and weights. This license update cannot retroactively restrict that material; genuinely new material in future releases can be distributed under the new terms.
## Quick start
```bash
hf download AtlasAI-official/Proxima --local-dir proxima
cd proxima
pip install -r requirements.txt
python proxima.py example.csv predictions.csv
```
The example is a historical schedule from the evaluation population, not a live lookup. Input CSV columns are `airline,number,origin,destination,sd,sa`. Use ICAO airline and airport identifiers (e.g. UAE, SBGL, OMDB), and ISO timestamps with UTC offsets. Outputs `arrival_delay_minutes` and `departure_delay_minutes` are estimated differences from the supplied schedule. Actual outcomes and weather are not prediction inputs.
```python
import pandas as pd
from proxima import Proxima
prediction = Proxima().predict_rows(pd.read_csv("example.csv"))
print(prediction)
```
Inference runs on CPU. `model.safetensors` stores the exact LightGBM UTF-8 serializations in uint8 tensors; this is a documented custom numerical format, not a Transformer checkpoint. The same trees are also provided as `models/arr.txt` and `models/dep.txt` for standard LightGBM tooling. No remote-code auto-loading is configured.
## Data and training
Source: [ANAC Voo Regular Ativo](https://www.anac.gov.br/acesso-a-informacao/dados-abertos/areas-de-atuacao/voos-e-operacoes-aereas/voo-regular-ativo-vra/62-voo-regular-ativo-vra), Brazil-connected international flight services. January–September 2026 monthly files produce 117,445 filtered completed flights: 91,785 January–July training, 13,351 August selection, and 12,309 September diagnostics. Training spans 140 airports and 92 airlines. `training_sources.json` records source URLs, retrieval metadata and hashes; raw records are not redistributed under the code/model license. Timestamps are interpreted in Brasilia time per ANAC documentation, then converted to UTC and airport-local clocks.
To rebuild training inputs and train:
```bash
python download_data.py
python prepare.py raw normalized.parquet
python train.py normalized.parquet --output trained-models
```
Source files can be revised: compare them against the published hashes. The training recipe requires the released metadata vocabulary; extending it for new airports/airlines needs a new consistent metadata build and evaluation. It produces standard LightGBM text models, not an automatic Hub upload. Predictions reject airports outside the released metadata. Unseen airline codes are mapped to missing categorical values; accuracy on those inputs is unverified.
The model uses the original 65-column schedule schema, with 46 unavailable columns explicitly missing. Sixteen R&D candidates compared scratch models with/without publication-lagged history, two training windows and two tree capacities. August MAE selected the winners before September scoring. Both selected models use schedule-only features and 31 leaves with L1 loss; exact parameters and iterations are in selection.json and train.py.
## Evaluation and limitations
September has been examined in earlier experiments. These are **repeated retrospective diagnostic scores, not a new untouched holdout or proof of future accuracy**. Hyperparameter selection for this experiment used August, not September.
| Metric | Frozen international incumbent | Released model |
|---|---:|---:|
| Arrival MAE (minutes) | 23.2088 | 23.0621 |
| Departure MAE (minutes) | 18.5400 | 18.3383 |
| Arrival within 15 minutes | 56.10% | 54.72% |
| Departure within 15 minutes | 74.02% | 74.30% |
Average errors improved modestly, but arrival within-15-minute performance declined. Sparse/unseen airline-route departure MAE worsened from 41.13 to 42.11 minutes on 376 records. The earlier 21/17-minute validation targets were not reached. This release was not substituted into the local live harness.
- No demonstrated Wizz Air, TLV–ATH or worldwide prediction accuracy.
- No live aircraft rotation, weather forecasts or pre-departure snapshots.
- No guarantee for long-range future schedules, revised timetables or unseen routes.
- Completed-flight filters exclude cancellations, invalid/missing records and delays outside -180 to 1440 minutes.
- ANAC event definitions are not established as equivalent to BTS gate events.
- Scheduled-flight lookup is a separate data service, not a capability of these weights.
Use airline-provided operational information for travel decisions. See results.json, analysis.json and verification.json for measured scope and checks.
|