code: def make_sparse_angular_tree(
      inds,
      indptr,
      data,
      indices,
      hyperplanes,
      offsets,
      children,
      point_indices,
      rng_state,
      leaf_size=30,
      max_depth=200,
  ):
      if indices.shape[0] > leaf_size and max_depth > 0:
          (
              left_indices,
              right_indices,
              hyperplane,
              offset,
          ) = sparse_angular_random_projection_split(
              inds, indptr, data, indices, rng_state
          )
  
          make_sparse_angular_tree(
              inds,
              indptr,
              data,
              left_indices,
              hyperplanes,
              offsets,
              children,
              point_indices,
              rng_state,
              leaf_size,
              max_depth - 1,
          )
  
          left_node_num = len(point_indices) - 1
  
          make_sparse_angular_tree(
              inds,
              indptr,
              data,
              right_indices,
              hyperplanes,
              offsets,
              children,
              point_indices,
              rng_state,
              leaf_size,
              max_depth - 1,
          )
  
          right_node_num = len(point_indices) - 1
  
          hyperplanes.append(hyperplane)
          offsets.append(offset)
          children.append(
              (np.int32(left_node_num), np.int32(right_node_num))
          )
          point_indices.append(np.array([-1], dtype=np.int32))
      else:
          hyperplanes.append(
              np.array([[-1.0], [-1.0]], dtype=np.float64)
          )
          offsets.append(-np.inf)
          children.append((np.int32(-1), np.int32(-1)))
          point_indices.append(indices)
  
imports: from warnings import warn
  import locale
  import numpy
  import numba
  import scipy.sparse
  from pynndescent.sparse import sparse_mul, sparse_diff, sparse_sum, arr_intersect, sparse_dot_product
  from pynndescent.utils import tau_rand_int, norm
  import joblib
  from collections import namedtuple
label_desc: Use image node_id 8 for calling a global function with example usage: make_sparse_angular_tree(inds, indptr, data, indices, hyperplanes, offsets, children, point_indices, rng_state, leaf_size, max_depth) without return types