Skip to content

Commit ed29ec5

Browse files
authored
Merge pull request #376 from yasumorishima/fix/xreg-mode-docstring
docs: fix swapped xreg_mode descriptions in forecast_with_covariates
2 parents 2c1052b + babdee5 commit ed29ec5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/timesfm/timesfm_2p5/timesfm_2p5_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ def forecast_with_covariates(
221221
dynamic_categorical_covariates: A dict of dynamic categorical covariates.
222222
static_numerical_covariates: A dict of static numerical covariates.
223223
static_categorical_covariates: A dict of static categorical covariates.
224-
xreg_mode: one of "xreg + timesfm" or "timesfm + xreg". "xreg + timesfm"
225-
fits a model on the residuals of the TimesFM forecast. "timesfm + xreg"
224+
xreg_mode: one of "xreg + timesfm" or "timesfm + xreg". "timesfm + xreg"
225+
fits a model on the residuals of the TimesFM forecast. "xreg + timesfm"
226226
fits a model on the targets then forecasts on the residuals via TimesFM.
227227
normalize_xreg_target_per_input: whether to normalize the xreg target per
228228
input in the given batch.

0 commit comments

Comments
 (0)