From 7919a8c474dd4880539a9fddb54f9c1888b1704c Mon Sep 17 00:00:00 2001 From: Jeong-Yoon Lee Date: Mon, 25 Sep 2023 19:48:50 -0700 Subject: [PATCH] Update CMDSTAN_VERSION to 2.32.1 to resolve stan-dev/cmdstan#1158 (#821) * update CMDSTAN_VERSION to 2.32.1 to resolve stan-dev/cmdstan#1158 * fix lint errors --- orbit/estimators/stan_estimator.py | 1 - orbit/template/dlt.py | 1 - orbit/template/ktr.py | 1 - orbit/utils/stan.py | 2 -- setup.py | 2 +- 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/orbit/estimators/stan_estimator.py b/orbit/estimators/stan_estimator.py index 695124d4..ce023fa0 100644 --- a/orbit/estimators/stan_estimator.py +++ b/orbit/estimators/stan_estimator.py @@ -117,7 +117,6 @@ def fit( fitter=None, init_values=None, ): - # T_STAR is used as sampling temperature which is used for WBIC calculation data_input.update({"T_STAR": sampling_temperature}) if self.verbose: diff --git a/orbit/template/dlt.py b/orbit/template/dlt.py index bb92c28d..40c4be88 100644 --- a/orbit/template/dlt.py +++ b/orbit/template/dlt.py @@ -198,7 +198,6 @@ def __init__( forecast_horizon=1, **kwargs, ): - self.damped_factor = damped_factor self.global_trend_option = global_trend_option self.period = period diff --git a/orbit/template/ktr.py b/orbit/template/ktr.py index 97518a35..85d1ae1c 100644 --- a/orbit/template/ktr.py +++ b/orbit/template/ktr.py @@ -809,7 +809,6 @@ def _generate_seas( seas_decomp = dict() if seasonality is not None and len(seasonality) > 0: - date_col = training_meta[TrainingMetaKeys.DATE_COL.value] date_array = training_meta[TrainingMetaKeys.DATE_ARRAY.value] training_end = training_meta[TrainingMetaKeys.END.value] diff --git a/orbit/utils/stan.py b/orbit/utils/stan.py index 6e619723..ee4b959a 100644 --- a/orbit/utils/stan.py +++ b/orbit/utils/stan.py @@ -43,7 +43,6 @@ def compile_stan_model(stan_model_name): if not os.path.isfile(compiled_model) or os.path.getmtime( compiled_model ) < os.path.getmtime(source_model): - logger.info( "First time in running stan model:{}. Expect 3 - 5 minutes for compilation.".format( stan_model_name @@ -84,7 +83,6 @@ def compile_stan_model_simplified(path): if not os.path.isfile(compiled_path) or os.path.getmtime( compiled_path ) < os.path.getmtime(source_path): - logger.info( "First time in running stan model:{}. Expect 3 - 5 minutes for compilation.".format( source_filename diff --git a/setup.py b/setup.py index aa055e75..051c98fd 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ # dist.Distribution().fetch_build_eggs(['cython']) DESCRIPTION = "Orbit is a package for Bayesian time series modeling and inference." -CMDSTAN_VERSION = "2.31.0" +CMDSTAN_VERSION = "2.32.1" def read_long_description(filename="README.md"):