code: def test_hessian_initialization(self):
      quasi_newton = (BFGS(), SR1())
  
      for qn in quasi_newton:
          qn.initialize(5, "hess")
          B = qn.get_matrix()
  
          assert_array_equal(B, np.eye(5))
  
file_path: catboost/contrib/python/scipy/py2/scipy/optimize/tests/test_hessian_update_strategy.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from copy import deepcopy
  from numpy.linalg import norm
  from numpy.testing import TestCase, assert_array_almost_equal, assert_array_equal, assert_array_less, assert_raises, assert_equal, assert_, run_module_suite, assert_allclose, assert_warns, dec
  from scipy.optimize import BFGS, SR1, HessianUpdateStrategy, minimize
label_desc: Use image node_id 1 for calling the TestHessianUpdateStrategy obj's underlying member method code with example usage: obj.test_hessian_initialization() without return types