我使用scipy.optimize.minimize
(https://docs.scipy.org/doc/scipy/reference/tutorial/optimize.html)功能與method='L-BFGS-B
。適合scipy.optimize參數的錯誤
什麼它返回一個例子是在這裏上面:
fun: 32.372210618549758
hess_inv: <6x6 LbfgsInvHessProduct with dtype=float64>
jac: array([ -2.14583906e-04, 4.09272616e-04, -2.55795385e-05,
3.76587650e-05, 1.49213975e-04, -8.38440428e-05])
message: 'CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH'
nfev: 420
nit: 51
status: 0
success: True
x: array([ 0.75739412, -0.0927572 , 0.11986434, 1.19911266, 0.27866406,
-0.03825225])
的x
值正確地包含擬合參數。我如何計算與這些參數相關的錯誤?