|
118 | 118 | "execution_count": null, |
119 | 119 | "id": "fcf6004b-ebd0-4a3c-8c02-d5463c62f79e", |
120 | 120 | "metadata": {}, |
121 | | - "outputs": [ |
122 | | - { |
123 | | - "name": "stderr", |
124 | | - "output_type": "stream", |
125 | | - "text": [ |
126 | | - "/home/ubuntu/miniconda/envs/nixtlats/lib/python3.11/site-packages/statsforecast/core.py:25: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", |
127 | | - " from tqdm.autonotebook import tqdm\n" |
128 | | - ] |
129 | | - } |
130 | | - ], |
| 121 | + "outputs": [], |
131 | 122 | "source": [ |
132 | 123 | "from nixtlats import TimeGPT" |
133 | 124 | ] |
|
176 | 167 | "text": [ |
177 | 168 | "Setting default log level to \"WARN\".\n", |
178 | 169 | "To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).\n", |
179 | | - "23/11/09 17:49:01 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable\n", |
180 | | - "23/11/09 17:49:02 WARN Utils: Service 'SparkUI' could not bind on port 4040. Attempting port 4041.\n" |
| 170 | + "24/04/01 03:34:43 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable\n" |
181 | 171 | ] |
182 | 172 | } |
183 | 173 | ], |
|
242 | 232 | "name": "stderr", |
243 | 233 | "output_type": "stream", |
244 | 234 | "text": [ |
245 | | - "INFO:nixtlats.timegpt:Validating inputs... (4 + 16) / 20]\n", |
| 235 | + "INFO:nixtlats.timegpt:Validating inputs...\n", |
246 | 236 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
247 | 237 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
248 | | - "INFO:nixtlats.timegpt:Calling Forecast Endpoint...=============> (19 + 1) / 20]\n" |
| 238 | + "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n" |
249 | 239 | ] |
250 | 240 | }, |
251 | 241 | { |
|
302 | 292 | "INFO:nixtlats.timegpt:Validating inputs...\n", |
303 | 293 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
304 | 294 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
305 | | - "INFO:nixtlats.timegpt:Calling Forecast Endpoint... (36 + 60) / 96]\n", |
306 | | - "INFO:nixtlats.timegpt:Validating inputs... (54 + 42) / 96]\n", |
| 295 | + "INFO:nixtlats.timegpt:Validating inputs...\n", |
307 | 296 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
308 | | - "INFO:nixtlats.timegpt:Inferred freq: H\n", |
309 | 297 | "INFO:nixtlats.timegpt:Validating inputs...\n", |
310 | 298 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
311 | 299 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
| 300 | + "INFO:nixtlats.timegpt:Inferred freq: H\n", |
| 301 | + "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
312 | 302 | "INFO:nixtlats.timegpt:Validating inputs...\n", |
313 | 303 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
314 | 304 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
315 | | - "INFO:nixtlats.timegpt:Validating inputs...========> (71 + 25) / 96]\n", |
| 305 | + "INFO:nixtlats.timegpt:Validating inputs...\n", |
316 | 306 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
317 | 307 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
318 | | - "INFO:nixtlats.timegpt:Calling Forecast Endpoint...=============> (92 + 4) / 96]\n", |
319 | 308 | "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
320 | 309 | "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
321 | 310 | "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
322 | | - "INFO:nixtlats.timegpt:Validating inputs... \n", |
| 311 | + "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
| 312 | + "INFO:nixtlats.timegpt:Validating inputs...\n", |
323 | 313 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
324 | 314 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
325 | 315 | "INFO:nixtlats.timegpt:Validating inputs...\n", |
326 | 316 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
327 | 317 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
328 | | - "INFO:nixtlats.timegpt:Calling Forecast Endpoint...===> (76 + 20) / 96]\n", |
329 | | - "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
330 | 318 | "INFO:nixtlats.timegpt:Validating inputs...\n", |
331 | 319 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
332 | | - "INFO:nixtlats.timegpt:Inferred freq: H\n", |
333 | 320 | "INFO:nixtlats.timegpt:Validating inputs...\n", |
334 | 321 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
335 | 322 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
| 323 | + "INFO:nixtlats.timegpt:Inferred freq: H\n", |
336 | 324 | "INFO:nixtlats.timegpt:Validating inputs...\n", |
337 | 325 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
338 | 326 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
339 | | - "INFO:nixtlats.timegpt:Calling Forecast Endpoint...=============> (92 + 4) / 96]\n", |
340 | | - "INFO:nixtlats.timegpt:Calling Forecast Endpoint...==============> (93 + 3) / 96]\n", |
| 327 | + "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
| 328 | + "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
| 329 | + "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
| 330 | + "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
341 | 331 | "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
342 | 332 | " \r" |
343 | 333 | ] |
|
464 | 454 | "output_type": "stream", |
465 | 455 | "text": [ |
466 | 456 | "INFO:nixtlats.timegpt:Validating inputs...\n", |
| 457 | + "INFO:nixtlats.timegpt:Validating inputs...\n", |
| 458 | + "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
467 | 459 | "INFO:nixtlats.timegpt:Preprocessing dataframes...\n", |
468 | 460 | "INFO:nixtlats.timegpt:Inferred freq: H\n", |
469 | | - "INFO:nixtlats.timegpt:Calling Forecast Endpoint...=============> (19 + 1) / 20]\n" |
| 461 | + "INFO:nixtlats.timegpt:Inferred freq: H\n", |
| 462 | + "INFO:nixtlats.timegpt:Using the following exogenous variables: Exogenous1, Exogenous2, day_0, day_1, day_2, day_3, day_4, day_5, day_6\n", |
| 463 | + "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
| 464 | + "INFO:nixtlats.timegpt:Using the following exogenous variables: Exogenous1, Exogenous2, day_0, day_1, day_2, day_3, day_4, day_5, day_6\n", |
| 465 | + "INFO:nixtlats.timegpt:Calling Forecast Endpoint...\n", |
| 466 | + "[Stage 33:=====================================================> (19 + 1) / 20]\r" |
470 | 467 | ] |
471 | 468 | }, |
472 | 469 | { |
473 | 470 | "name": "stdout", |
474 | 471 | "output_type": "stream", |
475 | 472 | "text": [ |
476 | | - "+---------+-------------------+------------------+------------------+-----------------+-----------------+------------------+\n", |
477 | | - "|unique_id| ds| TimeGPT| TimeGPT-lo-90| TimeGPT-lo-80| TimeGPT-hi-80| TimeGPT-hi-90|\n", |
478 | | - "+---------+-------------------+------------------+------------------+-----------------+-----------------+------------------+\n", |
479 | | - "| FR|2016-12-31 00:00:00| 64.97691027939692|60.056473801735784|61.71575274765864|68.23806781113521| 69.89734675705805|\n", |
480 | | - "| FR|2016-12-31 01:00:00| 60.14365519077404| 56.12626745731457|56.73784790927991|63.54946247226818| 64.16104292423351|\n", |
481 | | - "| FR|2016-12-31 02:00:00| 59.42375860682185| 54.84932824030574|56.52975776758845|62.31775944605525| 63.99818897333796|\n", |
482 | | - "| FR|2016-12-31 03:00:00| 55.11264928302748| 47.59671153125746|51.95117842731459|58.27412013874037| 62.6285870347975|\n", |
483 | | - "| FR|2016-12-31 04:00:00|54.400922806813526|44.925772896840385|49.65213255412798|59.14971305949907|63.876072716786666|\n", |
484 | | - "+---------+-------------------+------------------+------------------+-----------------+-----------------+------------------+\n", |
| 473 | + "+---------+-------------------+------------------+------------------+------------------+-----------------+-----------------+\n", |
| 474 | + "|unique_id| ds| TimeGPT| TimeGPT-lo-90| TimeGPT-lo-80| TimeGPT-hi-80| TimeGPT-hi-90|\n", |
| 475 | + "+---------+-------------------+------------------+------------------+------------------+-----------------+-----------------+\n", |
| 476 | + "| FR|2016-12-31 00:00:00| 59.39155162090687| 54.47111514324573| 56.13039408916859|62.65270915264515| 64.311988098568|\n", |
| 477 | + "| FR|2016-12-31 01:00:00| 60.1843929541434|56.167005220683926|56.778585672649264|63.59020023563754|64.20178068760288|\n", |
| 478 | + "| FR|2016-12-31 02:00:00| 58.12912691907976| 53.55469655256365| 55.23512607984636|61.02312775831316|62.70355728559587|\n", |
| 479 | + "| FR|2016-12-31 03:00:00|53.825965179940155| 46.31002742817014| 50.66449432422726|56.98743603565305|61.34190293171017|\n", |
| 480 | + "| FR|2016-12-31 04:00:00| 47.6941769331486| 38.21902702317546| 42.94538668046305|52.44296718583414|57.16932684312174|\n", |
| 481 | + "+---------+-------------------+------------------+------------------+------------------+-----------------+-----------------+\n", |
485 | 482 | "only showing top 5 rows\n", |
486 | 483 | "\n" |
487 | 484 | ] |
|
0 commit comments