"default"
- a proprietary loss function that is robust to outliers"mae"
- mean absolute error"mse"
- mean squared error"rmse"
- root mean squared error"mape"
- mean absolute percentage error"smape"
- symmetric mean absolute percentage error👍 Use an Azure AI endpoint To use an Azure AI endpoint, remember to set also thebase_url
argument:nixtla_client = NixtlaClient(base_url="you azure ai endpoint", api_key="your api_key")
finetune_loss
parameter of the forecast
method.
unique_id | timestamp | value | |
---|---|---|---|
0 | 1 | 1949-01-01 | 112 |
1 | 1 | 1949-02-01 | 118 |
2 | 1 | 1949-03-01 | 132 |
3 | 1 | 1949-04-01 | 129 |
4 | 1 | 1949-05-01 | 121 |
finetune_loss
parameter of the forecast
method.
📘 Available models in Azure AI If you are using an Azure AI endpoint, please be sure to setmodel="azureai"
:nixtla_client.forecast(..., model="azureai")
For the public API, we support two models:timegpt-1
andtimegpt-1-long-horizon
. By default,timegpt-1
is used. Please see this tutorial on how and when to usetimegpt-1-long-horizon
.
📘 Available models in Azure AI If you are using an Azure AI endpoint, please be sure to setmodel="azureai"
:nixtla_client.forecast(..., model="azureai")
For the public API, we support two models:timegpt-1
andtimegpt-1-long-horizon
. By default,timegpt-1
is used. Please see this tutorial on how and when to usetimegpt-1-long-horizon
.
unique_id | timestamp | value | TimeGPT_default | TimeGPT_mae | TimeGPT_mse | TimeGPT_rmse | TimeGPT_mape | TimeGPT_smape | |
---|---|---|---|---|---|---|---|---|---|
108 | 1 | 1958-01-01 | 340 | 347.134094 | 341.933563 | 347.600616 | 347.059113 | 356.154938 | 341.958679 |
109 | 1 | 1958-02-01 | 318 | 345.739746 | 343.268738 | 346.399963 | 345.678314 | 354.163422 | 343.929657 |
110 | 1 | 1958-03-01 | 362 | 394.611450 | 390.873169 | 395.436646 | 394.636627 | 396.496155 | 392.543640 |
111 | 1 | 1958-04-01 | 348 | 404.133545 | 400.997070 | 404.369598 | 403.498901 | 396.927185 | 402.459625 |
112 | 1 | 1958-05-01 | 363 | 421.236542 | 418.793365 | 422.122223 | 421.541443 | 410.335663 | 422.161255 |
mae | mse | rmse | mape | smape | |
---|---|---|---|---|---|
Metric improvement (%) | 8.54 | 0.31 | 0.64 | 31.02 | 7.36 |