Statsmodels sarimax : turn process output off
Asked Answered
P

1

11

I'm using the Statsmodels statespace sarimax like so:

model = sm.tsa.statespace.SARIMAX(param1, param2, etc)
fit_model = model.fit()

When this process is running, there's an output of the process printed on the terminal, see below:

enter image description here

Is there a way to turn this output off?

Primaveras answered 6/1, 2017 at 0:23 Comment(2)
This is the output of the optimizer scipy fmin_lbfgsb. fit keyword disp=0 might work.Kennie
This works, thanks you!Primaveras
E
11

Set disp to False explicitly:

fit_model = model.fit(disp=False)
Enjoin answered 24/11, 2020 at 16:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.