code: def default_scaling(x):
      (n,) = np.shape(x)
      return speye(n)
  
file_path: catboost/contrib/python/scipy/py2/scipy/optimize/_trustregion_constr/equality_constrained_sqp.py
imports: from __future__ import division, print_function, absolute_import
  from scipy.sparse import eye
  from .projections import projections
  from .qp_subproblem import modified_dogleg, projected_cg, box_intersections
  import numpy
  from numpy.linalg import norm
label_desc: Use image node_id 1 for calling a global function with example usage: default_scaling(x) and returns: speye