API e Parashikimit të Radhës Online
Parashikim i niveleve të radhës me ansambël ML: horizonte 24-orëshe dhe 7-ditore (168h) me kufij besueshmërie. I njëjti model që fuqizon parashikimet e nakordoni.eu.
GET https://nakordoni.eu/api/v1/data/forecast
— klasa e kuotës: heavy
| Parametri | Përshkrimi |
|---|---|
ppid | ID i pikës kontrolluese, p.sh. id_13 (shihni /api/v1/data/checkpoints) |
prediction_steps | 24 (parazgjedhje) ose 168 për 7 ditë |
Fushat e përgjigjes — brenda objektit data të zarfit të përgjigjes. [] shënon një listë, pra data.items[].name është fusha name e çdo elementi. Një fushë është null, mungon ose është listë bosh kur nuk kemi vlerë — kurrë një vendmbajtëse.
| Fusha | Përshkrimi |
|---|---|
data[] | One element per forecast step, nearest first — 24 or 168 of them. |
data[].time | Unix timestamp the step forecasts, with hours_from_now. |
data[].avg_cars | Predicted queue at that hour. |
data[].lower_bound | Confidence band around avg_cars, with upper_bound; the _50 pair is the narrower 50% band. |
data[].type_of_data | Provenance marker of the input reading the step was built from. |
data[].source | Which model produced the step, with formula and the corrected flag when a calibrator adjusted it. |
data[].learned_mult | Per-checkpoint learned multiplier applied, and weather_mult the weather one. |
data[].v4 | Full breakdown from the v4 ensemble — component scores behind avg_cars. |
curl "https://nakordoni.eu/api/v1/data/forecast?ppid=id_13&prediction_steps=24" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Hyni si zhvillues për ta provuar këtë endpoint drejtpërdrejt në Sandbox — 50 thirrje testimi falas në ditë. Hyni