statsmodels.tsa.exponential_smoothing.ets.ETSModel.fix_params¶
- ETSModel.fix_params(params)¶
将参数固定为特定值(上下文管理器)
示例
>>> mod = sm.tsa.SARIMAX(endog, order=(1, 0, 1)) >>> with mod.fix_params({'ar.L1': 0.5}): res = mod.fit()
Last update:
Oct 16, 2024