statsmodels ARIMA.fit:隐藏输出

hli*_*117 8 python scientific-computing statsmodels

似乎每当我跑步时ARIMA.fit(),我总是从卡尔曼滤波器得到一个标准输出:

## -- End pasted text --
RUNNING THE L-BFGS-B CODE

           * * *

Machine precision = 2.220D-16
 N =            1     M =           12
 This problem is unconstrained.

At X0         0 variables are exactly at the bounds

At iterate    0    f=  5.60459D-01    |proj g|=  2.22045D-08

           * * *

Tit   = total number of iterations
Tnf   = total number of function evaluations
Tnint = total number of segments explored during Cauchy searches
Skip  = number of BFGS updates skipped
Nact  = number of active bounds at final generalized Cauchy point
Projg = norm of the final projected gradient
F     = final function value

           * * *

   N    Tit     Tnf  Tnint  Skip  Nact     Projg        F
    1      1      3      1     0     0   0.000D+00   5.605D-01
  F =  0.560459405131994

CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL

 Cauchy                time 0.000E+00 seconds.
 Subspace minimization time 0.000E+00 seconds.
 Line search           time 0.000E+00 seconds.

 Total User time 0.000E+00 seconds.
Run Code Online (Sandbox Code Playgroud)

似乎没有一个明显的参数可以传递到适合隐藏此输出.如何隐藏此输出?

AJP*_*AJP 8

从@ user333700的注释中,使用:

arima.fit(disp=0)
Run Code Online (Sandbox Code Playgroud)

文档(针对版本0.7.0.dev-c8e980d)表示:

显示:布尔,可选

如果为True,则打印收敛信息。对于默认的l_bfgs_b解算器,disp控制迭代过程中输出的频率。disp <0表示在这种情况下不输出。