From 9ca4ce3eb238dca0a406dfc04bdc10a03d15e5d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Morales?= <jmoralz92@gmail.com> Date: Tue, 2 Apr 2024 18:17:32 -0600 Subject: [PATCH] fix nixtla_client page render (#279) --- nbs/nixtla_client.ipynb | 8 ++++---- nixtlats/nixtla_client.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nbs/nixtla_client.ipynb b/nbs/nixtla_client.ipynb index 9ce0b532..34059b1a 100644 --- a/nbs/nixtla_client.ipynb +++ b/nbs/nixtla_client.ipynb @@ -1252,9 +1252,9 @@ " Quantiles to forecast, list between (0, 1).\n", " `level` and `quantiles` should not be used simultaneously.\n", " The output dataframe will have the quantile columns\n", - " formatted as TimeGPT-q-{int(100 * q)} for each q.\n", + " formatted as TimeGPT-q-(100 * q) for each q.\n", " 100 * q represents percentiles but we choose this notation\n", - " to avoid handling __dots__ (.) in names.\n", + " to avoid having dots in column names.\n", " finetune_steps : int (default=0)\n", " Number of steps used to finetune learning TimeGPT in the\n", " new data.\n", @@ -1497,9 +1497,9 @@ " Quantiles to forecast, list between (0, 1).\n", " `level` and `quantiles` should not be used simultaneously.\n", " The output dataframe will have the quantile columns\n", - " formatted as TimeGPT-q-{int(100 * q)} for each q.\n", + " formatted as TimeGPT-q-(100 * q) for each q.\n", " 100 * q represents percentiles but we choose this notation\n", - " to avoid handling __dots__ (.) in names.\n", + " to avoid having dots in column names..\n", " validate_api_key : bool (default=False)\n", " If True, validates api_key before\n", " sending requests.\n", diff --git a/nixtlats/nixtla_client.py b/nixtlats/nixtla_client.py index 8317eb4f..43350f4f 100644 --- a/nixtlats/nixtla_client.py +++ b/nixtlats/nixtla_client.py @@ -1185,9 +1185,9 @@ def forecast( Quantiles to forecast, list between (0, 1). `level` and `quantiles` should not be used simultaneously. The output dataframe will have the quantile columns - formatted as TimeGPT-q-{int(100 * q)} for each q. + formatted as TimeGPT-q-(100 * q) for each q. 100 * q represents percentiles but we choose this notation - to avoid handling __dots__ (.) in names. + to avoid having dots in column names. finetune_steps : int (default=0) Number of steps used to finetune learning TimeGPT in the new data. @@ -1430,9 +1430,9 @@ def cross_validation( Quantiles to forecast, list between (0, 1). `level` and `quantiles` should not be used simultaneously. The output dataframe will have the quantile columns - formatted as TimeGPT-q-{int(100 * q)} for each q. + formatted as TimeGPT-q-(100 * q) for each q. 100 * q represents percentiles but we choose this notation - to avoid handling __dots__ (.) in names. + to avoid having dots in column names.. validate_api_key : bool (default=False) If True, validates api_key before sending requests.