From e1c278903f57494cd5056d2ae41ae591e9afa266 Mon Sep 17 00:00:00 2001 From: FedericoGarza Date: Thu, 25 Apr 2024 23:23:07 +0000 Subject: [PATCH] fix: remove consufing comment --- nbs/nixtla_client.ipynb | 11 +++++------ nixtla/nixtla_client.py | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/nbs/nixtla_client.ipynb b/nbs/nixtla_client.ipynb index 296844bb..2e25b01d 100644 --- a/nbs/nixtla_client.ipynb +++ b/nbs/nixtla_client.ipynb @@ -613,16 +613,15 @@ " 'Please consider using a smaller horizon.'\n", " )\n", " # restrict input if\n", - " # - we dont want to finetune\n", - " # - we dont have exogenous regegressors\n", - " # - and we dont want to produce pred intervals\n", - " # - no add history\n", + " # we dont want to fine-tune\n", + " # we dont have exogenous regressors\n", + " # no add history\n", " restrict_input = self.finetune_steps == 0 and X_df is None and not add_history\n", " if restrict_input:\n", - " # add sufficient info to compute\n", - " # conformal interval\n", " main_logger.info('Restricting input...')\n", " if self.level is not None:\n", + " # add sufficient info to compute\n", + " # conformal interval\n", " # @AzulGarza\n", " # this is an old opinionated decision\n", " # about reducing the data sent to the api\n", diff --git a/nixtla/nixtla_client.py b/nixtla/nixtla_client.py index abad2f8d..bbeed77d 100644 --- a/nixtla/nixtla_client.py +++ b/nixtla/nixtla_client.py @@ -555,16 +555,15 @@ def forecast( "Please consider using a smaller horizon." ) # restrict input if - # - we dont want to finetune - # - we dont have exogenous regegressors - # - and we dont want to produce pred intervals - # - no add history + # we dont want to fine-tune + # we dont have exogenous regressors + # no add history restrict_input = self.finetune_steps == 0 and X_df is None and not add_history if restrict_input: - # add sufficient info to compute - # conformal interval main_logger.info("Restricting input...") if self.level is not None: + # add sufficient info to compute + # conformal interval # @AzulGarza # this is an old opinionated decision # about reducing the data sent to the api