我正在尝试优化我的 sarimax 模型,但在尝试使用 GridSearchCV 参数函数时遇到了困难,您能帮帮我吗?我想为我的模型制作多个模型的网格:
pipe = pipeline.Pipeline([
("Month", ppc.FourierFeaturizer(m=251, k=10)),
("weekly", ppc.FourierFeaturizer(m=63, k=8)),
("arima", arima.AutoARIMA( stepwise = True, trace = 1, error_action = "ignore",
seasonal = False, #because we use Fourier
suppress_warnings = True))
])
pipe = pipeline.Pipeline([
("Month", ppc.FourierFeaturizer(m=[150,250,300], k=8,7,10)),
("weekly", ppc.FourierFeaturizer(m=40,63,80, k=4,8,9)),
("arima", arima.AutoARIMA( stepwise = True, trace = 1, error_action = "ignore",
seasonal = False, #because we use Fourier
suppress_warnings = True))
]) something like the following